logic-agent-mcp 0.0.0-stage → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.cmd +5 -0
- package/CAPTURE.cmd +8 -0
- package/CHECK.cmd +7 -0
- package/FIRMWARE-RECOVER.cmd +6 -0
- package/FIRMWARE-STATUS.cmd +8 -0
- package/INSTALL-DRIVER.cmd +6 -0
- package/INSTALL-MCP.cmd +16 -0
- package/LICENSE +31 -0
- package/MCP.cmd +5 -0
- package/README.md +127 -2
- package/SELF-TEST.cmd +6 -0
- package/THIRD-PARTY-NOTICES.md +32 -0
- package/VERIFY-FILES.cmd +6 -0
- package/VERSION.txt +17 -0
- package/VIEW.cmd +16 -0
- package/checksums.sha256 +449 -0
- package/docs/DRIVER.md +54 -0
- package/docs/DSLOGIC-PLUS.md +180 -0
- package/docs/FIRMWARE.md +53 -0
- package/docs/INSTALL.md +74 -0
- package/docs/MCP-CLIENTS.md +200 -0
- package/docs/PROTOCOLS.md +200 -0
- package/docs/TROUBLESHOOTING.md +41 -0
- package/docs/UPSTREAM-SYNC.md +141 -0
- package/docs/WAVEFORM-VIEWER.md +48 -0
- package/firmware/DSLogicPlus.fw +0 -0
- package/firmware/LICENSE-DreamSourceLab.txt +20 -0
- package/launcher/logic-agent-mcp.mjs +106 -0
- package/package.json +56 -6
- package/runtime/app/logic_agent/__init__.py +4 -0
- package/runtime/app/logic_agent/analysis.py +84 -0
- package/runtime/app/logic_agent/backends/__init__.py +7 -0
- package/runtime/app/logic_agent/backends/base.py +37 -0
- package/runtime/app/logic_agent/backends/dslab.py +278 -0
- package/runtime/app/logic_agent/backends/mock.py +101 -0
- package/runtime/app/logic_agent/backends/sigrok.py +252 -0
- package/runtime/app/logic_agent/cli.py +387 -0
- package/runtime/app/logic_agent/decoders.py +868 -0
- package/runtime/app/logic_agent/errors.py +50 -0
- package/runtime/app/logic_agent/importer.py +129 -0
- package/runtime/app/logic_agent/mcp_clients.py +956 -0
- package/runtime/app/logic_agent/mcp_server.py +345 -0
- package/runtime/app/logic_agent/models.py +150 -0
- package/runtime/app/logic_agent/protocols.py +233 -0
- package/runtime/app/logic_agent/service.py +378 -0
- package/runtime/app/logic_agent/signal.py +206 -0
- package/runtime/app/logic_agent/store.py +197 -0
- package/runtime/bin/_bz2.pyd +0 -0
- package/runtime/bin/_ctypes.pyd +0 -0
- package/runtime/bin/_decimal.pyd +0 -0
- package/runtime/bin/_elementtree.pyd +0 -0
- package/runtime/bin/_hashlib.pyd +0 -0
- package/runtime/bin/_lzma.pyd +0 -0
- package/runtime/bin/_multiprocessing.pyd +0 -0
- package/runtime/bin/_socket.pyd +0 -0
- package/runtime/bin/_sqlite3.pyd +0 -0
- package/runtime/bin/_ssl.pyd +0 -0
- package/runtime/bin/dslab.exe +0 -0
- package/runtime/bin/libglib-2.0-0.dll +0 -0
- package/runtime/bin/libiconv-2.dll +0 -0
- package/runtime/bin/libintl-8.dll +0 -0
- package/runtime/bin/libpcre2-8-0.dll +0 -0
- package/runtime/bin/libusb-1.0.dll +0 -0
- package/runtime/bin/libwinpthread-1.dll +0 -0
- package/runtime/bin/msvcp100.dll +0 -0
- package/runtime/bin/msvcr100.dll +0 -0
- package/runtime/bin/pyexpat.pyd +0 -0
- package/runtime/bin/python34.dll +0 -0
- package/runtime/bin/python34.zip +0 -0
- package/runtime/bin/res/DSCope.bin +0 -0
- package/runtime/bin/res/DSCope.fw +0 -0
- package/runtime/bin/res/DSCope1.def.dsc +88 -0
- package/runtime/bin/res/DSCope2.def.dsc +54 -0
- package/runtime/bin/res/DSCope20.bin +0 -0
- package/runtime/bin/res/DSCope20.fw +0 -0
- package/runtime/bin/res/DSCopeC20B.bin +0 -0
- package/runtime/bin/res/DSCopeC20P.bin +0 -0
- package/runtime/bin/res/DSCopeU2B100.bin +0 -0
- package/runtime/bin/res/DSCopeU2B20.bin +0 -0
- package/runtime/bin/res/DSCopeU2P20.bin +0 -0
- package/runtime/bin/res/DSCopeU3P100.bin +0 -0
- package/runtime/bin/res/DSLogic.fw +0 -0
- package/runtime/bin/res/DSLogic0.def.dsc +297 -0
- package/runtime/bin/res/DSLogic1.def.dsc +82 -0
- package/runtime/bin/res/DSLogic2.def.dsc +52 -0
- package/runtime/bin/res/DSLogic33.bin +0 -0
- package/runtime/bin/res/DSLogic50.bin +0 -0
- package/runtime/bin/res/DSLogicBasic.bin +0 -0
- package/runtime/bin/res/DSLogicPlus-pgl12-2.bin +0 -0
- package/runtime/bin/res/DSLogicPlus-pgl12.bin +0 -0
- package/runtime/bin/res/DSLogicPlus.bin +0 -0
- package/runtime/bin/res/DSLogicPlus.fw +0 -0
- package/runtime/bin/res/DSLogicPro.bin +0 -0
- package/runtime/bin/res/DSLogicPro.fw +0 -0
- package/runtime/bin/res/DSLogicU2Basic-pgl12-2.bin +0 -0
- package/runtime/bin/res/DSLogicU2Basic-pgl12.bin +0 -0
- package/runtime/bin/res/DSLogicU2Basic.bin +0 -0
- package/runtime/bin/res/DSLogicU2Pro16.bin +0 -0
- package/runtime/bin/res/DSLogicU3Pro16.bin +0 -0
- package/runtime/bin/res/DSLogicU3Pro32.bin +0 -0
- package/runtime/bin/res/license.txt +20 -0
- package/runtime/bin/res/virtual-demo1.dsc +68 -0
- package/runtime/bin/select.pyd +0 -0
- package/runtime/bin/sigrok-cli.exe +0 -0
- package/runtime/bin/unicodedata.pyd +0 -0
- package/runtime/bin/winsound.pyd +0 -0
- package/runtime/bin/zlib1.dll +0 -0
- package/runtime/decoders/ac97/__init__.py +38 -0
- package/runtime/decoders/ac97/pd.py +477 -0
- package/runtime/decoders/ad5626/__init__.py +25 -0
- package/runtime/decoders/ad5626/pd.py +62 -0
- package/runtime/decoders/ad79x0/__init__.py +25 -0
- package/runtime/decoders/ad79x0/pd.py +137 -0
- package/runtime/decoders/ade77xx/__init__.py +31 -0
- package/runtime/decoders/ade77xx/lists.py +102 -0
- package/runtime/decoders/ade77xx/pd.py +131 -0
- package/runtime/decoders/adf435x/__init__.py +29 -0
- package/runtime/decoders/adf435x/pd.py +230 -0
- package/runtime/decoders/adns5020/__init__.py +27 -0
- package/runtime/decoders/adns5020/pd.py +116 -0
- package/runtime/decoders/adxl345/__init__.py +26 -0
- package/runtime/decoders/adxl345/lists.py +96 -0
- package/runtime/decoders/adxl345/pd.py +453 -0
- package/runtime/decoders/am230x/__init__.py +36 -0
- package/runtime/decoders/am230x/pd.py +229 -0
- package/runtime/decoders/amulet_ascii/__init__.py +28 -0
- package/runtime/decoders/amulet_ascii/lists.py +73 -0
- package/runtime/decoders/amulet_ascii/pd.py +699 -0
- package/runtime/decoders/arm_etmv3/__init__.py +25 -0
- package/runtime/decoders/arm_etmv3/pd.py +567 -0
- package/runtime/decoders/arm_itm/__init__.py +25 -0
- package/runtime/decoders/arm_itm/pd.py +373 -0
- package/runtime/decoders/arm_tpiu/__init__.py +28 -0
- package/runtime/decoders/arm_tpiu/pd.py +131 -0
- package/runtime/decoders/atsha204a/__init__.py +30 -0
- package/runtime/decoders/atsha204a/pd.py +323 -0
- package/runtime/decoders/aud/__init__.py +31 -0
- package/runtime/decoders/aud/pd.py +108 -0
- package/runtime/decoders/avr_isp/__init__.py +25 -0
- package/runtime/decoders/avr_isp/parts.py +163 -0
- package/runtime/decoders/avr_isp/pd.py +278 -0
- package/runtime/decoders/avr_pdi/__init__.py +42 -0
- package/runtime/decoders/avr_pdi/pd.py +574 -0
- package/runtime/decoders/caliper/__init__.py +36 -0
- package/runtime/decoders/caliper/pd.py +146 -0
- package/runtime/decoders/can/__init__.py +31 -0
- package/runtime/decoders/can/pd.py +519 -0
- package/runtime/decoders/cc1101/__init__.py +28 -0
- package/runtime/decoders/cc1101/lists.py +115 -0
- package/runtime/decoders/cc1101/pd.py +294 -0
- package/runtime/decoders/cec/__init__.py +25 -0
- package/runtime/decoders/cec/pd.py +311 -0
- package/runtime/decoders/cec/protocoldata.py +117 -0
- package/runtime/decoders/cfp/__init__.py +34 -0
- package/runtime/decoders/cfp/pd.py +110 -0
- package/runtime/decoders/cjtag/__init__.py +36 -0
- package/runtime/decoders/cjtag/pd.py +323 -0
- package/runtime/decoders/common/__init__.py +19 -0
- package/runtime/decoders/common/plugtrx/__init__.py +20 -0
- package/runtime/decoders/common/plugtrx/mod.py +192 -0
- package/runtime/decoders/common/sdcard/__init__.py +20 -0
- package/runtime/decoders/common/sdcard/mod.py +150 -0
- package/runtime/decoders/common/srdhelper/__init__.py +20 -0
- package/runtime/decoders/common/srdhelper/mod.py +98 -0
- package/runtime/decoders/counter/__init__.py +28 -0
- package/runtime/decoders/counter/pd.py +145 -0
- package/runtime/decoders/dali/__init__.py +24 -0
- package/runtime/decoders/dali/lists.py +98 -0
- package/runtime/decoders/dali/pd.py +244 -0
- package/runtime/decoders/dcf77/__init__.py +28 -0
- package/runtime/decoders/dcf77/pd.py +311 -0
- package/runtime/decoders/dmx512/__init__.py +25 -0
- package/runtime/decoders/dmx512/pd.py +361 -0
- package/runtime/decoders/ds1307/__init__.py +25 -0
- package/runtime/decoders/ds1307/pd.py +270 -0
- package/runtime/decoders/ds2408/__init__.py +25 -0
- package/runtime/decoders/ds2408/pd.py +129 -0
- package/runtime/decoders/ds243x/__init__.py +25 -0
- package/runtime/decoders/ds243x/pd.py +270 -0
- package/runtime/decoders/ds28ea00/__init__.py +25 -0
- package/runtime/decoders/ds28ea00/pd.py +93 -0
- package/runtime/decoders/dsi/__init__.py +24 -0
- package/runtime/decoders/dsi/pd.py +157 -0
- package/runtime/decoders/edid/__init__.py +35 -0
- package/runtime/decoders/edid/pd.py +671 -0
- package/runtime/decoders/edid/pnpids.txt +2135 -0
- package/runtime/decoders/eeprom24xx/__init__.py +25 -0
- package/runtime/decoders/eeprom24xx/lists.py +214 -0
- package/runtime/decoders/eeprom24xx/pd.py +443 -0
- package/runtime/decoders/eeprom93xx/__init__.py +32 -0
- package/runtime/decoders/eeprom93xx/pd.py +163 -0
- package/runtime/decoders/em4100/__init__.py +24 -0
- package/runtime/decoders/em4100/pd.py +238 -0
- package/runtime/decoders/em4305/__init__.py +24 -0
- package/runtime/decoders/em4305/pd.py +394 -0
- package/runtime/decoders/enc28j60/__init__.py +32 -0
- package/runtime/decoders/enc28j60/lists.py +161 -0
- package/runtime/decoders/enc28j60/pd.py +294 -0
- package/runtime/decoders/flexray/__init__.py +32 -0
- package/runtime/decoders/flexray/pd.py +413 -0
- package/runtime/decoders/graycode/__init__.py +24 -0
- package/runtime/decoders/graycode/pd.py +197 -0
- package/runtime/decoders/guess_bitrate/__init__.py +40 -0
- package/runtime/decoders/guess_bitrate/pd.py +79 -0
- package/runtime/decoders/hdcp/__init__.py +27 -0
- package/runtime/decoders/hdcp/pd.py +191 -0
- package/runtime/decoders/i2c/__init__.py +25 -0
- package/runtime/decoders/i2c/pd.py +364 -0
- package/runtime/decoders/i2cdemux/__init__.py +27 -0
- package/runtime/decoders/i2cdemux/pd.py +80 -0
- package/runtime/decoders/i2cfilter/__init__.py +37 -0
- package/runtime/decoders/i2cfilter/pd.py +106 -0
- package/runtime/decoders/i2s/__init__.py +29 -0
- package/runtime/decoders/i2s/pd.py +179 -0
- package/runtime/decoders/ieee488/__init__.py +26 -0
- package/runtime/decoders/ieee488/pd.py +849 -0
- package/runtime/decoders/ir_irmp/__init__.py +25 -0
- package/runtime/decoders/ir_irmp/irmp_library.py +168 -0
- package/runtime/decoders/ir_irmp/pd.py +139 -0
- package/runtime/decoders/ir_nec/__init__.py +25 -0
- package/runtime/decoders/ir_nec/lists.py +93 -0
- package/runtime/decoders/ir_nec/pd.py +300 -0
- package/runtime/decoders/ir_rc5/__init__.py +24 -0
- package/runtime/decoders/ir_rc5/lists.py +93 -0
- package/runtime/decoders/ir_rc5/pd.py +182 -0
- package/runtime/decoders/ir_rc6/__init__.py +24 -0
- package/runtime/decoders/ir_rc6/pd.py +205 -0
- package/runtime/decoders/ir_sirc/__init__.py +26 -0
- package/runtime/decoders/ir_sirc/lists.py +201 -0
- package/runtime/decoders/ir_sirc/pd.py +215 -0
- package/runtime/decoders/jitter/__init__.py +29 -0
- package/runtime/decoders/jitter/pd.py +198 -0
- package/runtime/decoders/jtag/__init__.py +30 -0
- package/runtime/decoders/jtag/pd.py +235 -0
- package/runtime/decoders/jtag_ejtag/__init__.py +25 -0
- package/runtime/decoders/jtag_ejtag/pd.py +408 -0
- package/runtime/decoders/jtag_stm32/__init__.py +29 -0
- package/runtime/decoders/jtag_stm32/pd.py +269 -0
- package/runtime/decoders/lfast/__init__.py +35 -0
- package/runtime/decoders/lfast/pd.py +335 -0
- package/runtime/decoders/lin/__init__.py +28 -0
- package/runtime/decoders/lin/pd.py +247 -0
- package/runtime/decoders/lm75/__init__.py +25 -0
- package/runtime/decoders/lm75/pd.py +186 -0
- package/runtime/decoders/lpc/__init__.py +25 -0
- package/runtime/decoders/lpc/pd.py +365 -0
- package/runtime/decoders/ltc242x/__init__.py +25 -0
- package/runtime/decoders/ltc242x/pd.py +86 -0
- package/runtime/decoders/ltc26x7/__init__.py +25 -0
- package/runtime/decoders/ltc26x7/pd.py +187 -0
- package/runtime/decoders/maple_bus/__init__.py +25 -0
- package/runtime/decoders/maple_bus/pd.py +222 -0
- package/runtime/decoders/max72xx/__init__.py +25 -0
- package/runtime/decoders/max72xx/pd.py +130 -0
- package/runtime/decoders/mcp230xx/__init__.py +25 -0
- package/runtime/decoders/mcp230xx/pd.py +143 -0
- package/runtime/decoders/mcs48/__init__.py +31 -0
- package/runtime/decoders/mcs48/pd.py +126 -0
- package/runtime/decoders/mdio/__init__.py +39 -0
- package/runtime/decoders/mdio/pd.py +325 -0
- package/runtime/decoders/microwire/__init__.py +40 -0
- package/runtime/decoders/microwire/pd.py +194 -0
- package/runtime/decoders/midi/__init__.py +28 -0
- package/runtime/decoders/midi/lists.py +840 -0
- package/runtime/decoders/midi/pd.py +627 -0
- package/runtime/decoders/miller/__init__.py +26 -0
- package/runtime/decoders/miller/pd.py +190 -0
- package/runtime/decoders/mlx90614/__init__.py +25 -0
- package/runtime/decoders/mlx90614/pd.py +82 -0
- package/runtime/decoders/modbus/__init__.py +28 -0
- package/runtime/decoders/modbus/pd.py +941 -0
- package/runtime/decoders/morse/__init__.py +28 -0
- package/runtime/decoders/morse/pd.py +250 -0
- package/runtime/decoders/mrf24j40/__init__.py +25 -0
- package/runtime/decoders/mrf24j40/lists.py +165 -0
- package/runtime/decoders/mrf24j40/pd.py +188 -0
- package/runtime/decoders/mxc6225xu/__init__.py +28 -0
- package/runtime/decoders/mxc6225xu/pd.py +217 -0
- package/runtime/decoders/nes_gamepad/__init__.py +54 -0
- package/runtime/decoders/nes_gamepad/pd.py +92 -0
- package/runtime/decoders/nrf24l01/__init__.py +29 -0
- package/runtime/decoders/nrf24l01/pd.py +332 -0
- package/runtime/decoders/nrf905/__init__.py +26 -0
- package/runtime/decoders/nrf905/pd.py +301 -0
- package/runtime/decoders/numbers_and_state/__init__.py +41 -0
- package/runtime/decoders/numbers_and_state/pd.py +377 -0
- package/runtime/decoders/nunchuk/__init__.py +30 -0
- package/runtime/decoders/nunchuk/pd.py +207 -0
- package/runtime/decoders/onewire_link/__init__.py +56 -0
- package/runtime/decoders/onewire_link/pd.py +347 -0
- package/runtime/decoders/onewire_network/__init__.py +56 -0
- package/runtime/decoders/onewire_network/pd.py +185 -0
- package/runtime/decoders/ook/__init__.py +36 -0
- package/runtime/decoders/ook/pd.py +484 -0
- package/runtime/decoders/ook_oregon/__init__.py +25 -0
- package/runtime/decoders/ook_oregon/lists.py +75 -0
- package/runtime/decoders/ook_oregon/pd.py +389 -0
- package/runtime/decoders/ook_vis/__init__.py +25 -0
- package/runtime/decoders/ook_vis/pd.py +194 -0
- package/runtime/decoders/pan1321/__init__.py +25 -0
- package/runtime/decoders/pan1321/pd.py +164 -0
- package/runtime/decoders/parallel/__init__.py +45 -0
- package/runtime/decoders/parallel/pd.py +285 -0
- package/runtime/decoders/pca9571/__init__.py +25 -0
- package/runtime/decoders/pca9571/pd.py +122 -0
- package/runtime/decoders/pjdl/__init__.py +27 -0
- package/runtime/decoders/pjdl/pd.py +723 -0
- package/runtime/decoders/pjon/__init__.py +25 -0
- package/runtime/decoders/pjon/pd.py +603 -0
- package/runtime/decoders/ps2/__init__.py +26 -0
- package/runtime/decoders/ps2/pd.py +126 -0
- package/runtime/decoders/pwm/__init__.py +24 -0
- package/runtime/decoders/pwm/pd.py +167 -0
- package/runtime/decoders/qi/__init__.py +25 -0
- package/runtime/decoders/qi/pd.py +244 -0
- package/runtime/decoders/rc_encode/__init__.py +40 -0
- package/runtime/decoders/rc_encode/pd.py +215 -0
- package/runtime/decoders/rfm12/__init__.py +25 -0
- package/runtime/decoders/rfm12/pd.py +497 -0
- package/runtime/decoders/rgb_led_spi/__init__.py +25 -0
- package/runtime/decoders/rgb_led_spi/pd.py +72 -0
- package/runtime/decoders/rgb_led_ws281x/__init__.py +27 -0
- package/runtime/decoders/rgb_led_ws281x/pd.py +267 -0
- package/runtime/decoders/rtc8564/__init__.py +25 -0
- package/runtime/decoders/rtc8564/pd.py +254 -0
- package/runtime/decoders/sae_j1850_vpw/__init__.py +24 -0
- package/runtime/decoders/sae_j1850_vpw/pd.py +296 -0
- package/runtime/decoders/sbus_futaba/__init__.py +35 -0
- package/runtime/decoders/sbus_futaba/pd.py +273 -0
- package/runtime/decoders/sda2506/__init__.py +24 -0
- package/runtime/decoders/sda2506/pd.py +146 -0
- package/runtime/decoders/sdcard_sd/__init__.py +24 -0
- package/runtime/decoders/sdcard_sd/pd.py +554 -0
- package/runtime/decoders/sdcard_spi/__init__.py +68 -0
- package/runtime/decoders/sdcard_spi/pd.py +518 -0
- package/runtime/decoders/sdq/__init__.py +28 -0
- package/runtime/decoders/sdq/pd.py +131 -0
- package/runtime/decoders/seven_segment/__init__.py +24 -0
- package/runtime/decoders/seven_segment/pd.py +186 -0
- package/runtime/decoders/signature/__init__.py +25 -0
- package/runtime/decoders/signature/pd.py +142 -0
- package/runtime/decoders/sipi/__init__.py +30 -0
- package/runtime/decoders/sipi/pd.py +181 -0
- package/runtime/decoders/sle44xx/__init__.py +26 -0
- package/runtime/decoders/sle44xx/pd.py +541 -0
- package/runtime/decoders/smart_qspi/PORTING.md +22 -0
- package/runtime/decoders/smart_qspi/__init__.py +1 -0
- package/runtime/decoders/smart_qspi/pd.py +826 -0
- package/runtime/decoders/spdif/__init__.py +25 -0
- package/runtime/decoders/spdif/pd.py +295 -0
- package/runtime/decoders/spi/__init__.py +32 -0
- package/runtime/decoders/spi/pd.py +347 -0
- package/runtime/decoders/spiflash/__init__.py +30 -0
- package/runtime/decoders/spiflash/lists.py +178 -0
- package/runtime/decoders/spiflash/pd.py +537 -0
- package/runtime/decoders/ssi32/__init__.py +28 -0
- package/runtime/decoders/ssi32/pd.py +127 -0
- package/runtime/decoders/st25r39xx_spi/__init__.py +31 -0
- package/runtime/decoders/st25r39xx_spi/lists.py +231 -0
- package/runtime/decoders/st25r39xx_spi/pd.py +360 -0
- package/runtime/decoders/st7735/__init__.py +27 -0
- package/runtime/decoders/st7735/pd.py +173 -0
- package/runtime/decoders/stepper_motor/__init__.py +25 -0
- package/runtime/decoders/stepper_motor/pd.py +95 -0
- package/runtime/decoders/swd/__init__.py +34 -0
- package/runtime/decoders/swd/pd.py +350 -0
- package/runtime/decoders/swim/__init__.py +28 -0
- package/runtime/decoders/swim/pd.py +303 -0
- package/runtime/decoders/t55xx/__init__.py +25 -0
- package/runtime/decoders/t55xx/pd.py +326 -0
- package/runtime/decoders/tca6408a/__init__.py +25 -0
- package/runtime/decoders/tca6408a/pd.py +157 -0
- package/runtime/decoders/tdm_audio/__init__.py +25 -0
- package/runtime/decoders/tdm_audio/pd.py +116 -0
- package/runtime/decoders/timing/__init__.py +24 -0
- package/runtime/decoders/timing/pd.py +194 -0
- package/runtime/decoders/tlc5620/__init__.py +24 -0
- package/runtime/decoders/tlc5620/pd.py +212 -0
- package/runtime/decoders/uart/__init__.py +40 -0
- package/runtime/decoders/uart/pd.py +635 -0
- package/runtime/decoders/usb_packet/__init__.py +43 -0
- package/runtime/decoders/usb_packet/pd.py +401 -0
- package/runtime/decoders/usb_power_delivery/__init__.py +24 -0
- package/runtime/decoders/usb_power_delivery/pd.py +642 -0
- package/runtime/decoders/usb_request/__init__.py +49 -0
- package/runtime/decoders/usb_request/pd.py +386 -0
- package/runtime/decoders/usb_signalling/__init__.py +50 -0
- package/runtime/decoders/usb_signalling/pd.py +348 -0
- package/runtime/decoders/wiegand/__init__.py +28 -0
- package/runtime/decoders/wiegand/pd.py +148 -0
- package/runtime/decoders/x2444m/__init__.py +25 -0
- package/runtime/decoders/x2444m/pd.py +111 -0
- package/runtime/decoders/xfp/__init__.py +38 -0
- package/runtime/decoders/xfp/pd.py +486 -0
- package/runtime/decoders/xy2-100/__init__.py +28 -0
- package/runtime/decoders/xy2-100/pd.py +242 -0
- package/runtime/decoders/z80/__init__.py +36 -0
- package/runtime/decoders/z80/pd.py +358 -0
- package/runtime/decoders/z80/tables.py +1083 -0
- package/runtime/dslab.cmd +5 -0
- package/runtime/licenses/DreamSourceLab-res-MIT.txt +20 -0
- package/runtime/licenses/dslab-GPL-3.0.txt +674 -0
- package/runtime/licenses/logic-agent-MIT.txt +31 -0
- package/runtime/licenses/python-PSF.txt +645 -0
- package/runtime/licenses/sigrok-cli-GPL-3.0.txt +674 -0
- package/runtime/licenses/smart_qspi-PORTING.md +22 -0
- package/runtime/licenses/source/patches/dsview-v1.3.2-dslab.patch +124 -0
- package/runtime/logic-agent-mcp.cmd +9 -0
- package/runtime/logic-agent.cmd +9 -0
- package/runtime/python/LICENSE.txt +645 -0
- package/runtime/python/_asyncio.pyd +0 -0
- package/runtime/python/_bz2.pyd +0 -0
- package/runtime/python/_ctypes.pyd +0 -0
- package/runtime/python/_decimal.pyd +0 -0
- package/runtime/python/_elementtree.pyd +0 -0
- package/runtime/python/_hashlib.pyd +0 -0
- package/runtime/python/_lzma.pyd +0 -0
- package/runtime/python/_multiprocessing.pyd +0 -0
- package/runtime/python/_overlapped.pyd +0 -0
- package/runtime/python/_queue.pyd +0 -0
- package/runtime/python/_socket.pyd +0 -0
- package/runtime/python/_sqlite3.pyd +0 -0
- package/runtime/python/_ssl.pyd +0 -0
- package/runtime/python/_uuid.pyd +0 -0
- package/runtime/python/_wmi.pyd +0 -0
- package/runtime/python/_zoneinfo.pyd +0 -0
- package/runtime/python/libcrypto-3.dll +0 -0
- package/runtime/python/libffi-8.dll +0 -0
- package/runtime/python/libssl-3.dll +0 -0
- package/runtime/python/pyexpat.pyd +0 -0
- package/runtime/python/python.cat +0 -0
- package/runtime/python/python.exe +0 -0
- package/runtime/python/python3.dll +0 -0
- package/runtime/python/python313._pth +3 -0
- package/runtime/python/python313.dll +0 -0
- package/runtime/python/python313.zip +0 -0
- package/runtime/python/pythonw.exe +0 -0
- package/runtime/python/select.pyd +0 -0
- package/runtime/python/sqlite3.dll +0 -0
- package/runtime/python/unicodedata.pyd +0 -0
- package/runtime/python/vcruntime140.dll +0 -0
- package/runtime/python/vcruntime140_1.dll +0 -0
- package/runtime/python/winsound.pyd +0 -0
- package/runtime/scripts/deploy-check.ps1 +171 -0
- package/scripts/check.ps1 +14 -0
- package/scripts/firmware-recover.ps1 +27 -0
- package/scripts/install-driver.ps1 +30 -0
- package/scripts/self-test.ps1 +14 -0
- package/scripts/verify-files.py +39 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
##
|
|
2
|
+
## This file is part of the libsigrokdecode project.
|
|
3
|
+
##
|
|
4
|
+
## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
|
|
5
|
+
##
|
|
6
|
+
## This program is free software; you can redistribute it and/or modify
|
|
7
|
+
## it under the terms of the GNU General Public License as published by
|
|
8
|
+
## the Free Software Foundation; either version 2 of the License, or
|
|
9
|
+
## (at your option) any later version.
|
|
10
|
+
##
|
|
11
|
+
## This program is distributed in the hope that it will be useful,
|
|
12
|
+
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
## GNU General Public License for more details.
|
|
15
|
+
##
|
|
16
|
+
## You should have received a copy of the GNU General Public License
|
|
17
|
+
## along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
##
|
|
19
|
+
|
|
20
|
+
import sigrokdecode as srd
|
|
21
|
+
|
|
22
|
+
# Definitions of various bits in MXC6225XU registers.
|
|
23
|
+
status = {
|
|
24
|
+
# SH[1:0]
|
|
25
|
+
'sh': {
|
|
26
|
+
0b00: 'none',
|
|
27
|
+
0b01: 'shake left',
|
|
28
|
+
0b10: 'shake right',
|
|
29
|
+
0b11: 'undefined',
|
|
30
|
+
},
|
|
31
|
+
# ORI[1:0] and OR[1:0] (same format)
|
|
32
|
+
'ori': {
|
|
33
|
+
0b00: 'vertical in upright orientation',
|
|
34
|
+
0b01: 'rotated 90 degrees clockwise',
|
|
35
|
+
0b10: 'vertical in inverted orientation',
|
|
36
|
+
0b11: 'rotated 90 degrees counterclockwise',
|
|
37
|
+
},
|
|
38
|
+
# SHTH[1:0]
|
|
39
|
+
'shth': {
|
|
40
|
+
0b00: '0.5g',
|
|
41
|
+
0b01: '1.0g',
|
|
42
|
+
0b10: '1.5g',
|
|
43
|
+
0b11: '2.0g',
|
|
44
|
+
},
|
|
45
|
+
# SHC[1:0]
|
|
46
|
+
'shc': {
|
|
47
|
+
0b00: '16',
|
|
48
|
+
0b01: '32',
|
|
49
|
+
0b10: '64',
|
|
50
|
+
0b11: '128',
|
|
51
|
+
},
|
|
52
|
+
# ORC[1:0]
|
|
53
|
+
'orc': {
|
|
54
|
+
0b00: '16',
|
|
55
|
+
0b01: '32',
|
|
56
|
+
0b10: '64',
|
|
57
|
+
0b11: '128',
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
class Decoder(srd.Decoder):
|
|
62
|
+
api_version = 3
|
|
63
|
+
id = 'mxc6225xu'
|
|
64
|
+
name = 'MXC6225XU'
|
|
65
|
+
longname = 'MEMSIC MXC6225XU'
|
|
66
|
+
desc = 'Digital Thermal Orientation Sensor (DTOS) protocol.'
|
|
67
|
+
license = 'gplv2+'
|
|
68
|
+
inputs = ['i2c']
|
|
69
|
+
outputs = []
|
|
70
|
+
tags = ['IC', 'Sensor']
|
|
71
|
+
annotations = (
|
|
72
|
+
('text', 'Text'),
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
def __init__(self):
|
|
76
|
+
self.reset()
|
|
77
|
+
|
|
78
|
+
def reset(self):
|
|
79
|
+
self.state = 'IDLE'
|
|
80
|
+
|
|
81
|
+
def start(self):
|
|
82
|
+
self.out_ann = self.register(srd.OUTPUT_ANN)
|
|
83
|
+
|
|
84
|
+
def putx(self, data):
|
|
85
|
+
self.put(self.ss, self.es, self.out_ann, data)
|
|
86
|
+
|
|
87
|
+
def handle_reg_0x00(self, b):
|
|
88
|
+
# XOUT: 8-bit x-axis acceleration output.
|
|
89
|
+
# Data is in 2's complement, values range from -128 to 127.
|
|
90
|
+
self.putx([0, ['XOUT: %d' % b]])
|
|
91
|
+
|
|
92
|
+
def handle_reg_0x01(self, b):
|
|
93
|
+
# YOUT: 8-bit y-axis acceleration output.
|
|
94
|
+
# Data is in 2's complement, values range from -128 to 127.
|
|
95
|
+
self.putx([0, ['YOUT: %d' % b]])
|
|
96
|
+
|
|
97
|
+
def handle_reg_0x02(self, b):
|
|
98
|
+
# STATUS: Orientation and shake status.
|
|
99
|
+
|
|
100
|
+
# Bits[7:7]: INT
|
|
101
|
+
int_val = (b >> 7) & 1
|
|
102
|
+
s = 'unchanged and no' if (int_val == 0) else 'changed or'
|
|
103
|
+
ann = 'INT = %d: Orientation %s shake event occurred\n' % (int_val, s)
|
|
104
|
+
|
|
105
|
+
# Bits[6:5]: SH[1:0]
|
|
106
|
+
sh = (((b >> 6) & 1) << 1) | ((b >> 5) & 1)
|
|
107
|
+
ann += 'SH[1:0] = %s: Shake event: %s\n' % \
|
|
108
|
+
(bin(sh)[2:], status['sh'][sh])
|
|
109
|
+
|
|
110
|
+
# Bits[4:4]: TILT
|
|
111
|
+
tilt = (b >> 4) & 1
|
|
112
|
+
s = '' if (tilt == 0) else 'not '
|
|
113
|
+
ann += 'TILT = %d: Orientation measurement is %svalid\n' % (tilt, s)
|
|
114
|
+
|
|
115
|
+
# Bits[3:2]: ORI[1:0]
|
|
116
|
+
ori = (((b >> 3) & 1) << 1) | ((b >> 2) & 1)
|
|
117
|
+
ann += 'ORI[1:0] = %s: %s\n' % (bin(ori)[2:], status['ori'][ori])
|
|
118
|
+
|
|
119
|
+
# Bits[1:0]: OR[1:0]
|
|
120
|
+
or_val = (((b >> 1) & 1) << 1) | ((b >> 0) & 1)
|
|
121
|
+
ann += 'OR[1:0] = %s: %s\n' % (bin(or_val)[2:], status['ori'][or_val])
|
|
122
|
+
|
|
123
|
+
# ann += 'b = %s\n' % (bin(b))
|
|
124
|
+
|
|
125
|
+
self.putx([0, [ann]])
|
|
126
|
+
|
|
127
|
+
def handle_reg_0x03(self, b):
|
|
128
|
+
# DETECTION: Powerdown, orientation and shake detection parameters.
|
|
129
|
+
# Note: This is a write-only register.
|
|
130
|
+
|
|
131
|
+
# Bits[7:7]: PD
|
|
132
|
+
pd = (b >> 7) & 1
|
|
133
|
+
s = 'Do not power down' if (pd == 0) else 'Power down'
|
|
134
|
+
ann = 'PD = %d: %s the device (into a low-power state)\n' % (pd, s)
|
|
135
|
+
|
|
136
|
+
# Bits[6:6]: SHM
|
|
137
|
+
shm = (b >> 6) & 1
|
|
138
|
+
ann = 'SHM = %d: Set shake mode to %d\n' % (shm, shm)
|
|
139
|
+
|
|
140
|
+
# Bits[5:4]: SHTH[1:0]
|
|
141
|
+
shth = (((b >> 5) & 1) << 1) | ((b >> 4) & 1)
|
|
142
|
+
ann += 'SHTH[1:0] = %s: Set shake threshold to %s\n' \
|
|
143
|
+
% (bin(shth)[2:], status['shth'][shth])
|
|
144
|
+
|
|
145
|
+
# Bits[3:2]: SHC[1:0]
|
|
146
|
+
shc = (((b >> 3) & 1) << 1) | ((b >> 2) & 1)
|
|
147
|
+
ann += 'SHC[1:0] = %s: Set shake count to %s readings\n' \
|
|
148
|
+
% (bin(shc)[2:], status['shc'][shc])
|
|
149
|
+
|
|
150
|
+
# Bits[1:0]: ORC[1:0]
|
|
151
|
+
orc = (((b >> 1) & 1) << 1) | ((b >> 0) & 1)
|
|
152
|
+
ann += 'ORC[1:0] = %s: Set orientation count to %s readings\n' \
|
|
153
|
+
% (bin(orc)[2:], status['orc'][orc])
|
|
154
|
+
|
|
155
|
+
self.putx([0, [ann]])
|
|
156
|
+
|
|
157
|
+
# TODO: Fixup, this is copy-pasted from another PD.
|
|
158
|
+
# TODO: Handle/check the ACKs/NACKs.
|
|
159
|
+
def decode(self, ss, es, data):
|
|
160
|
+
cmd, databyte = data
|
|
161
|
+
|
|
162
|
+
# Store the start/end samples of this I²C packet.
|
|
163
|
+
self.ss, self.es = ss, es
|
|
164
|
+
|
|
165
|
+
# State machine.
|
|
166
|
+
if self.state == 'IDLE':
|
|
167
|
+
# Wait for an I²C START condition.
|
|
168
|
+
if cmd != 'START':
|
|
169
|
+
return
|
|
170
|
+
self.state = 'GET SLAVE ADDR'
|
|
171
|
+
elif self.state == 'GET SLAVE ADDR':
|
|
172
|
+
# Wait for an address write operation.
|
|
173
|
+
# TODO: We should only handle packets to the slave(?)
|
|
174
|
+
if cmd != 'ADDRESS WRITE':
|
|
175
|
+
return
|
|
176
|
+
self.state = 'GET REG ADDR'
|
|
177
|
+
elif self.state == 'GET REG ADDR':
|
|
178
|
+
# Wait for a data write (master selects the slave register).
|
|
179
|
+
if cmd != 'DATA WRITE':
|
|
180
|
+
return
|
|
181
|
+
self.reg = databyte
|
|
182
|
+
self.state = 'WRITE REGS'
|
|
183
|
+
elif self.state == 'WRITE REGS':
|
|
184
|
+
# If we see a Repeated Start here, it's a multi-byte read.
|
|
185
|
+
if cmd == 'START REPEAT':
|
|
186
|
+
self.state = 'READ REGS'
|
|
187
|
+
return
|
|
188
|
+
# Otherwise: Get data bytes until a STOP condition occurs.
|
|
189
|
+
if cmd == 'DATA WRITE':
|
|
190
|
+
handle_reg = getattr(self, 'handle_reg_0x%02x' % self.reg)
|
|
191
|
+
handle_reg(databyte)
|
|
192
|
+
self.reg += 1
|
|
193
|
+
# TODO: Check for NACK!
|
|
194
|
+
elif cmd == 'STOP':
|
|
195
|
+
# TODO
|
|
196
|
+
self.state = 'IDLE'
|
|
197
|
+
else:
|
|
198
|
+
pass # TODO
|
|
199
|
+
elif self.state == 'READ REGS':
|
|
200
|
+
# Wait for an address read operation.
|
|
201
|
+
# TODO: We should only handle packets to the slave(?)
|
|
202
|
+
if cmd == 'ADDRESS READ':
|
|
203
|
+
self.state = 'READ REGS2'
|
|
204
|
+
return
|
|
205
|
+
else:
|
|
206
|
+
pass # TODO
|
|
207
|
+
elif self.state == 'READ REGS2':
|
|
208
|
+
if cmd == 'DATA READ':
|
|
209
|
+
handle_reg = getattr(self, 'handle_reg_0x%02x' % self.reg)
|
|
210
|
+
handle_reg(databyte)
|
|
211
|
+
self.reg += 1
|
|
212
|
+
# TODO: Check for NACK!
|
|
213
|
+
elif cmd == 'STOP':
|
|
214
|
+
# TODO
|
|
215
|
+
self.state = 'IDLE'
|
|
216
|
+
else:
|
|
217
|
+
pass # TODO?
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
##
|
|
2
|
+
## This file is part of the libsigrokdecode project.
|
|
3
|
+
##
|
|
4
|
+
## Copyright (C) 2019 Stephan Thiele <stephan.thiele@mailbox.org>
|
|
5
|
+
##
|
|
6
|
+
## This program is free software; you can redistribute it and/or modify
|
|
7
|
+
## it under the terms of the GNU General Public License as published by
|
|
8
|
+
## the Free Software Foundation; either version 2 of the License, or
|
|
9
|
+
## (at your option) any later version.
|
|
10
|
+
##
|
|
11
|
+
## This program is distributed in the hope that it will be useful,
|
|
12
|
+
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
## GNU General Public License for more details.
|
|
15
|
+
##
|
|
16
|
+
## You should have received a copy of the GNU General Public License
|
|
17
|
+
## along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
##
|
|
19
|
+
|
|
20
|
+
'''
|
|
21
|
+
This decoder stacks on top of the 'spi' PD and decodes the button states
|
|
22
|
+
of an NES gamepad.
|
|
23
|
+
|
|
24
|
+
The SPI decoder needs to be configured as follows:
|
|
25
|
+
|
|
26
|
+
Clock polarity = 1
|
|
27
|
+
Clock phase = 0
|
|
28
|
+
Bit order = msb-first
|
|
29
|
+
Word size = 8
|
|
30
|
+
|
|
31
|
+
Chip-select is not used and must not be assigned to any channel.
|
|
32
|
+
|
|
33
|
+
Hardware setup is as follows:
|
|
34
|
+
___
|
|
35
|
+
GND |o \
|
|
36
|
+
CUP |o o| VCC
|
|
37
|
+
OUT 0 |o o| D3
|
|
38
|
+
D1 |o o| D4
|
|
39
|
+
-----
|
|
40
|
+
NES Gamepad Connector
|
|
41
|
+
|
|
42
|
+
VCC - Power 5V
|
|
43
|
+
GND - Ground
|
|
44
|
+
CUP - Shift register clock (CLK)
|
|
45
|
+
OUT 0 - Shift register latch (optional)
|
|
46
|
+
D1 - Gamepad data (MOSI)
|
|
47
|
+
D3 - Data (unused)
|
|
48
|
+
D4 - Data (unused)
|
|
49
|
+
|
|
50
|
+
Data pins D3 and D4 are not used by the standard gamepad but
|
|
51
|
+
by special controllers like the Nintento Zapper light gun.
|
|
52
|
+
'''
|
|
53
|
+
|
|
54
|
+
from .pd import Decoder
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
##
|
|
2
|
+
## This file is part of the libsigrokdecode project.
|
|
3
|
+
##
|
|
4
|
+
## Copyright (C) 2019 Stephan Thiele <stephan.thiele@mailbox.org>
|
|
5
|
+
##
|
|
6
|
+
## This program is free software; you can redistribute it and/or modify
|
|
7
|
+
## it under the terms of the GNU General Public License as published by
|
|
8
|
+
## the Free Software Foundation; either version 2 of the License, or
|
|
9
|
+
## (at your option) any later version.
|
|
10
|
+
##
|
|
11
|
+
## This program is distributed in the hope that it will be useful,
|
|
12
|
+
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
## GNU General Public License for more details.
|
|
15
|
+
##
|
|
16
|
+
## You should have received a copy of the GNU General Public License
|
|
17
|
+
## along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
##
|
|
19
|
+
|
|
20
|
+
import sigrokdecode as srd
|
|
21
|
+
|
|
22
|
+
class Decoder(srd.Decoder):
|
|
23
|
+
api_version = 3
|
|
24
|
+
id = 'nes_gamepad'
|
|
25
|
+
name = 'NES gamepad'
|
|
26
|
+
longname = 'Nintendo Entertainment System gamepad'
|
|
27
|
+
desc = 'NES gamepad button states.'
|
|
28
|
+
license = 'gplv2+'
|
|
29
|
+
inputs = ['spi']
|
|
30
|
+
outputs = []
|
|
31
|
+
tags = ['Retro computing']
|
|
32
|
+
options = (
|
|
33
|
+
# Currently only the standard controller is supported. This might be
|
|
34
|
+
# extended by special controllers like the Nintendo Zapper light gun.
|
|
35
|
+
{'id': 'variant', 'desc': 'Gamepad variant',
|
|
36
|
+
'default': 'Standard gamepad', 'values': ('Standard gamepad',)},
|
|
37
|
+
)
|
|
38
|
+
annotations = (
|
|
39
|
+
('button', 'Button state'),
|
|
40
|
+
('no-press', 'No button press'),
|
|
41
|
+
('not-connected', 'Gamepad unconnected')
|
|
42
|
+
)
|
|
43
|
+
annotation_rows = (
|
|
44
|
+
('buttons', 'Button states', (0,)),
|
|
45
|
+
('no-presses', 'No button presses', (1,)),
|
|
46
|
+
('not-connected-vals', 'Gamepad unconnected', (2,)),
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
def __init__(self):
|
|
50
|
+
self.reset()
|
|
51
|
+
|
|
52
|
+
def reset(self):
|
|
53
|
+
self.variant = None
|
|
54
|
+
|
|
55
|
+
def start(self):
|
|
56
|
+
self.out_ann = self.register(srd.OUTPUT_ANN)
|
|
57
|
+
self.variant = self.options['variant']
|
|
58
|
+
|
|
59
|
+
def putg(self, ss, es, cls, text):
|
|
60
|
+
self.put(ss, es, self.out_ann, [cls, [text]])
|
|
61
|
+
|
|
62
|
+
def handle_data(self, ss, es, value):
|
|
63
|
+
if value == 0xff:
|
|
64
|
+
self.putg(ss, es, 1, 'No button is pressed')
|
|
65
|
+
return
|
|
66
|
+
|
|
67
|
+
if value == 0x00:
|
|
68
|
+
self.putg(ss, es, 2, 'Gamepad is not connected')
|
|
69
|
+
return
|
|
70
|
+
|
|
71
|
+
buttons = [
|
|
72
|
+
'A',
|
|
73
|
+
'B',
|
|
74
|
+
'Select',
|
|
75
|
+
'Start',
|
|
76
|
+
'North',
|
|
77
|
+
'South',
|
|
78
|
+
'West',
|
|
79
|
+
'East',
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
bits = '{:08b}'.format(value)
|
|
83
|
+
text = [buttons[i] for i, b in enumerate(bits) if b == '0']
|
|
84
|
+
text = ' + '.join(text)
|
|
85
|
+
self.putg(ss, es, 0, text)
|
|
86
|
+
|
|
87
|
+
def decode(self, ss, es, data):
|
|
88
|
+
ptype, _, _ = data
|
|
89
|
+
if ptype == 'DATA':
|
|
90
|
+
_, _, miso = data
|
|
91
|
+
self.handle_data(ss, es, miso)
|
|
92
|
+
return
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
##
|
|
2
|
+
## This file is part of the libsigrokdecode project.
|
|
3
|
+
##
|
|
4
|
+
## Copyright (C) 2014 Jens Steinhauser <jens.steinhauser@gmail.com>
|
|
5
|
+
##
|
|
6
|
+
## This program is free software; you can redistribute it and/or modify
|
|
7
|
+
## it under the terms of the GNU General Public License as published by
|
|
8
|
+
## the Free Software Foundation; either version 2 of the License, or
|
|
9
|
+
## (at your option) any later version.
|
|
10
|
+
##
|
|
11
|
+
## This program is distributed in the hope that it will be useful,
|
|
12
|
+
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
## GNU General Public License for more details.
|
|
15
|
+
##
|
|
16
|
+
## You should have received a copy of the GNU General Public License
|
|
17
|
+
## along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
##
|
|
19
|
+
|
|
20
|
+
'''
|
|
21
|
+
This decoder stacks on top of the 'spi' PD and decodes the protocol spoken
|
|
22
|
+
by the Nordic Semiconductor nRF24L01 and nRF24L01+ 2.4GHz transceiver chips.
|
|
23
|
+
|
|
24
|
+
Details:
|
|
25
|
+
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01
|
|
26
|
+
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
|
|
27
|
+
'''
|
|
28
|
+
|
|
29
|
+
from .pd import Decoder
|