]> sigrok.org Git - sigrok-dumps.git/commitdiff
ir_nec: Add dumps for corner cases (timing tolerance, last packet decode)
authorBenedikt Otto <redacted>
Thu, 23 Jul 2020 08:58:27 +0000 (10:58 +0200)
committerGerhard Sittig <redacted>
Sun, 30 Aug 2020 08:00:39 +0000 (10:00 +0200)
Add file joy_it_sbc_irc01_all.sr which exceeds the previous 5% limit for
timing tolerances and would not decode at all.

Add file joy_it_sbc_irc01_enter_no_repeat.sr which lacks a repeat code
after a key press, which earlier decoder versions would have failed to
decode.

[ gsi: rename probes, add README, rephrase commit message ]

ir/nec/joy-it_sbc-irc01/README [new file with mode: 0644]
ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_all.sr [new file with mode: 0644]
ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_enter_no_repeat.sr [new file with mode: 0644]

diff --git a/ir/nec/joy-it_sbc-irc01/README b/ir/nec/joy-it_sbc-irc01/README
new file mode 100644 (file)
index 0000000..b6abef3
--- /dev/null
@@ -0,0 +1,24 @@
+------------------------------------------------------------------------
+NEC infrared protocol
+------------------------------------------------------------------------
+
+These captures were taken with the "Joy-IT SBC IR01" remote control. File
+joy_it_sbc_irc01_all.sr contains data for all the buttons of that remote.
+File joy_it_sbc_irc01_enter_no_repeat.sr contains a single button that gets
+pressed repeatedly, but for a short period of time such that the remote
+won't send a repeat signal (each button press is new).
+
+There are several interesting aspects to these files:
+- The signal would not decode with 5% tolerance. A wider limit is needed
+  because this remote control's signal is outside of that narrow window.
+- The absence of IR frames for repeated button press could reveal an issue
+  with earlier decoder implementations, where the emission of annotations
+  for an IR frame was deferred until the start of the next IR frame.
+
+Logic analyzer setup
+--------------------
+
+  Probe  NEC
+  -----------
+  0      IR (carrier removed)
+  1      RAW (includes carrier)
diff --git a/ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_all.sr b/ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_all.sr
new file mode 100644 (file)
index 0000000..4dabcae
Binary files /dev/null and b/ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_all.sr differ
diff --git a/ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_enter_no_repeat.sr b/ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_enter_no_repeat.sr
new file mode 100644 (file)
index 0000000..c993e75
Binary files /dev/null and b/ir/nec/joy-it_sbc-irc01/joy_it_sbc_irc01_enter_no_repeat.sr differ