summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-12-07 15:58:26 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-12-07 16:43:26 +0100
commit122c9110f3b099a0f2e5d995f42f99b385adad4e (patch)
treec6a310f0ef2d6d50a28263520985b9d2acc9f0e9 /decoder
parent1eb2bfa4b7b4e50087016f977fffa40261aa8c71 (diff)
downloadsigrok-test-122c9110f3b099a0f2e5d995f42f99b385adad4e.tar.gz
sigrok-test-122c9110f3b099a0f2e5d995f42f99b385adad4e.zip
Add an HDCP test-case.
Diffstat (limited to 'decoder')
-rw-r--r--decoder/test/hdcp/test.conf6
-rw-r--r--decoder/test/hdcp/unknown_device.output8
2 files changed, 14 insertions, 0 deletions
diff --git a/decoder/test/hdcp/test.conf b/decoder/test/hdcp/test.conf
new file mode 100644
index 0000000..5eaf40e
--- /dev/null
+++ b/decoder/test/hdcp/test.conf
@@ -0,0 +1,6 @@
+test unknown_device
+ protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder hdcp
+ stack i2c hdcp
+ input i2c/hdcp/unknown_device/hdcp.sr
+ output hdcp annotation match unknown_device.output
diff --git a/decoder/test/hdcp/unknown_device.output b/decoder/test/hdcp/unknown_device.output
new file mode 100644
index 0000000..9dad54b
--- /dev/null
+++ b/decoder/test/hdcp/unknown_device.output
@@ -0,0 +1,8 @@
+825208-825791 hdcp: summary: "1.4 Ri' - Link Verification"
+5523648-5524132 hdcp: summary: "NOT HDCP2"
+6266823-6267352 hdcp: summary: "1.4 Bcaps"
+6267448-6267931 hdcp: summary: "1.4 Bcaps"
+6268007-6269080 hdcp: summary: "1.4 An - Session random number"
+6269123-6269884 hdcp: summary: "1.4 Aksv - Transmitter KSV"
+6269918-6270802 hdcp: summary: "1.4 Bksv - Receiver KSV"
+6376782-6377365 hdcp: summary: "1.4 Ri' - Link Verification"