diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-12-25 20:02:00 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-12-26 13:37:03 +0100 |
commit | 97b2e74f29fa79c15ece5844fd99aa2dd0f6d0b0 (patch) | |
tree | 60df01b16f7f866ad2e8d27959145554b76d2468 /decoder/test/ir_irmp/nec_extended_capture.output | |
parent | 873dd231a86f022c00d2f4562c18694024b1051c (diff) | |
download | sigrok-test-97b2e74f29fa79c15ece5844fd99aa2dd0f6d0b0.tar.gz sigrok-test-97b2e74f29fa79c15ece5844fd99aa2dd0f6d0b0.zip |
ir_irmp: introduce IRMP test cases, cover NEC/RC5/RC6/SIRC and others
The upstream IRMP project's decoder core is only slowly moving, we can
consider the IRMP decoder integration to be stable and don't expect the
output to change violently any longer. The issue of requiring a single
core instance remains and affects the GUI, but not the single threaded
test suite.
This set of test cases re-uses the NEC, RC5, RC6, and SIRC dumps which
are covered by individual decoders, too. Ideally detection results would
be identical, but in practise the annotation positions and the level of
details will differ between implementations due to their internal
operation and design choices.
The IRMP test set also covers dumps which are not covered by other IR
decoders. It's interesting to see how not all key repetitions are caught
and how single press might be missed as well. It's valuable to remain
aware during maintenance, and see how occassional failure changes. This
is why an empty output for a non-empty dump is kept here, too.
Diffstat (limited to 'decoder/test/ir_irmp/nec_extended_capture.output')
-rw-r--r-- | decoder/test/ir_irmp/nec_extended_capture.output | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/decoder/test/ir_irmp/nec_extended_capture.output b/decoder/test/ir_irmp/nec_extended_capture.output new file mode 100644 index 0000000..7380afa --- /dev/null +++ b/decoder/test/ir_irmp/nec_extended_capture.output @@ -0,0 +1,11 @@ +48815-56995 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0048, Flags: -" "P: NEC (2), Addr: 0xea41, Cmd: 0x48, Flg: -" "P: 2 A: 0xea41 C: 0x48 F: -" "C:48 A:ea41 -" "C:48" +59590-60760 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0048, Flags: repeat" "P: NEC (2), Addr: 0xea41, Cmd: 0x48, Flg: rep" "P: 2 A: 0xea41 C: 0x48 F: rep" "C:48 A:ea41 r" "C:48" +126660-134845 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0011, Flags: -" "P: NEC (2), Addr: 0xea41, Cmd: 0x11, Flg: -" "P: 2 A: 0xea41 C: 0x11 F: -" "C:11 A:ea41 -" "C:11" +144765-152945 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0011, Flags: repeat" "P: NEC (2), Addr: 0xea41, Cmd: 0x11, Flg: rep" "P: 2 A: 0xea41 C: 0x11 F: rep" "C:11 A:ea41 r" "C:11" +187425-195605 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0010, Flags: -" "P: NEC (2), Addr: 0xea41, Cmd: 0x10, Flg: -" "P: 2 A: 0xea41 C: 0x10 F: -" "C:10 A:ea41 -" "C:10" +198200-199370 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0010, Flags: repeat" "P: NEC (2), Addr: 0xea41, Cmd: 0x10, Flg: rep" "P: 2 A: 0xea41 C: 0x10 F: rep" "C:10 A:ea41 r" "C:10" +253085-261265 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0012, Flags: -" "P: NEC (2), Addr: 0xea41, Cmd: 0x12, Flg: -" "P: 2 A: 0xea41 C: 0x12 F: -" "C:12 A:ea41 -" "C:12" +263860-265030 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0012, Flags: repeat" "P: NEC (2), Addr: 0xea41, Cmd: 0x12, Flg: rep" "P: 2 A: 0xea41 C: 0x12 F: rep" "C:12 A:ea41 r" "C:12" +338480-346665 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0013, Flags: -" "P: NEC (2), Addr: 0xea41, Cmd: 0x13, Flg: -" "P: 2 A: 0xea41 C: 0x13 F: -" "C:13 A:ea41 -" "C:13" +399020-407195 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0011, Flags: -" "P: NEC (2), Addr: 0xea41, Cmd: 0x11, Flg: -" "P: 2 A: 0xea41 C: 0x11 F: -" "C:11 A:ea41 -" "C:11" +409790-410960 ir_irmp: packet: "Protocol: NEC (2), Address 0xea41, Command: 0x0011, Flags: repeat" "P: NEC (2), Addr: 0xea41, Cmd: 0x11, Flg: rep" "P: 2 A: 0xea41 C: 0x11 F: rep" "C:11 A:ea41 r" "C:11" |