summaryrefslogtreecommitdiff
path: root/decoder/test/ir_nec/test.conf
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-26 08:53:16 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-26 08:53:51 +0200
commit18260bc70d6bb521e362fc8d3f9e85751b682d43 (patch)
tree288f6198c2d5cdac519143b3d3d00da4df24e59e /decoder/test/ir_nec/test.conf
parent94c543e0d7e6fc6bc2eb46b753244c45fa07a3c1 (diff)
downloadsigrok-test-18260bc70d6bb521e362fc8d3f9e85751b682d43.tar.gz
sigrok-test-18260bc70d6bb521e362fc8d3f9e85751b682d43.zip
ir_nec: add tests for extended NEC protocol (failed and passed)
A capture with extended NEC protocol data became available. Add tests for failed interpretation with the standard approach, and successful interpretation when the extended protocol gets selected.
Diffstat (limited to 'decoder/test/ir_nec/test.conf')
-rw-r--r--decoder/test/ir_nec/test.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/decoder/test/ir_nec/test.conf b/decoder/test/ir_nec/test.conf
index 6bf06a0..d9184a6 100644
--- a/decoder/test/ir_nec/test.conf
+++ b/decoder/test/ir_nec/test.conf
@@ -12,3 +12,13 @@ test tv_matsui_0001_button_av_hold_carrier
protocol-decoder ir_nec channel ir=7 option cd_freq=38000
input ir/nec/hama_8in1/tv_matsui_0001/tv_matsui_0001_button_av_hold.sr
output ir_nec annotation match tv_matsui_0001_button_av_hold_carrier.output
+
+test extended_capture_standard_choice
+ protocol-decoder ir_nec channel ir=0
+ input ir/nec/extended/unknown_ceiling_light.sr
+ output ir_nec annotation match extended_capture_standard_choice.output
+
+test extended_capture_extended_choice
+ protocol-decoder ir_nec channel ir=0 option extended=yes
+ input ir/nec/extended/unknown_ceiling_light.sr
+ output ir_nec annotation match extended_capture_extended_choice.output