summaryrefslogtreecommitdiff
path: root/decoders/common/sdcard/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-25 17:56:54 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-25 23:21:23 +0200
commit17e0ba228dadb7a12aa0e11fa81fcbc4a7836349 (patch)
tree9dbb186a5df732c292e48862525c0da0b5bb97e2 /decoders/common/sdcard/__init__.py
parent025c728ed12e33121fb5be4ce14085afc2f23853 (diff)
downloadlibsigrokdecode-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/common/sdcard/__init__.py')
0 files changed, 0 insertions, 0 deletions