diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-25 17:56:54 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-25 23:21:23 +0200 |
commit | 17e0ba228dadb7a12aa0e11fa81fcbc4a7836349 (patch) | |
tree | 9dbb186a5df732c292e48862525c0da0b5bb97e2 /decoders/pan1321/__init__.py | |
parent | 025c728ed12e33121fb5be4ce14085afc2f23853 (diff) | |
download | libsigrokdecode-17e0ba228dadb7a12aa0e11fa81fcbc4a7836349.tar.gz libsigrokdecode-17e0ba228dadb7a12aa0e11fa81fcbc4a7836349.zip |
ir_nec: add support for extended NEC protocol (16bit address)
Add support for the extended NEC protocol, where the address field spans
16 bits and the complement is not sent. Commands still span 8 bits and
are sent in normal and in inverted form. The user needs to select the
extended protocol (off by default for compatibility), the input data
does not allow automatic detection of the protocol variant. It's also
not appropriate to assume the extended format when the address field
happens to fail the validity check.
The unfortunate mix of data value checks and annotation emission in
combination with "global" state makes this implementation more redundant
than I would like. A later cleanup is desirable.
This resolves bug #1583.
Diffstat (limited to 'decoders/pan1321/__init__.py')
0 files changed, 0 insertions, 0 deletions