From 18260bc70d6bb521e362fc8d3f9e85751b682d43 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sun, 26 Jul 2020 08:53:16 +0200 Subject: 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. --- decoder/test/ir_nec/test.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'decoder/test/ir_nec/test.conf') 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 -- cgit v1.2.3-54-g00ecf