NAME
Protocol::IR::Proto::NEC482 - 48-NEC2 protocol handler (48-bit NEC, whole-frame repeat)
VERSION
version 1.0
SYNOPSIS
use Protocol::IR::Converter;
my $converter = Protocol::IR::Converter->new();
# 48-NEC2 is timing-identical to 48-NEC1 for a single frame; the name is
# kept so repeat behavior survives conversion.
my $code = $converter->import_code('48-NEC2',
{ address => 77, subaddress => 178, command => 222 });
DESCRIPTION
The 48-NEC2 variant of Protocol::IR::Proto::NEC48 transmits an identical single frame; only the repeat structure differs (it re-transmits the whole frame rather than a short header+gap ditto frame). Because the repeat is invisible to the single-frame decoders, a timing decode labels both variants 48-NEC1; the 48-NEC2 name is produced when a code is imported by name (CSV, decode_params, decode_raw), which is the IRDB-to-wig path.
METHODS
All methods are inherited from Protocol::IR::Proto::NEC48; only the protocol name differs.
SUPPORT
Source code: https://github.com/bwarden/perl-protocol-ir
Bug reports and feature requests: https://github.com/bwarden/perl-protocol-ir/issues
AUTHOR
Brett T. Warden <bwarden@cpan.org>
COPYRIGHT AND LICENSE
Copyright (c) 2026 Brett T. Warden
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.