summaryrefslogtreecommitdiff
path: root/decoder/test/ir_nec/test.conf
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-02-10 16:50:07 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-02-15 19:16:37 +0100
commita0a619190dd5ae2d6629fe3e3dbb72fedd795623 (patch)
treeff2b959d1ecfc2f026e9ca5ad30cc51836859ffe /decoder/test/ir_nec/test.conf
parentb665563e2d256f7e4fb2494c209483c7b2490229 (diff)
downloadsigrok-test-a0a619190dd5ae2d6629fe3e3dbb72fedd795623.tar.gz
sigrok-test-a0a619190dd5ae2d6629fe3e3dbb72fedd795623.zip
ir_nec: add test for the optional carrier detect feature
The IR-NEC decoder optionally can handle input streams that still have the carrier signal. Add a test for this configuration, derived from the test which uses the signal that had the carrier removed in hardware. The same data is seen, just at different sample numbers. The content was verified by means of the "cut -d ' ' -f 2-" and "diff" commands.
Diffstat (limited to 'decoder/test/ir_nec/test.conf')
-rw-r--r--decoder/test/ir_nec/test.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder/test/ir_nec/test.conf b/decoder/test/ir_nec/test.conf
index 7ad3d19..6bf06a0 100644
--- a/decoder/test/ir_nec/test.conf
+++ b/decoder/test/ir_nec/test.conf
@@ -7,3 +7,8 @@ test tv_matsui_0001_button_av_hold
protocol-decoder ir_nec channel ir=6
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.output
+
+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