]> sigrok.org Git - sigrok-test.git/commitdiff
Add an HDCP test-case.
authorUwe Hermann <redacted>
Sat, 7 Dec 2019 14:58:26 +0000 (15:58 +0100)
committerUwe Hermann <redacted>
Sat, 7 Dec 2019 15:43:26 +0000 (16:43 +0100)
decoder/test/hdcp/test.conf [new file with mode: 0644]
decoder/test/hdcp/unknown_device.output [new file with mode: 0644]

diff --git a/decoder/test/hdcp/test.conf b/decoder/test/hdcp/test.conf
new file mode 100644 (file)
index 0000000..5eaf40e
--- /dev/null
@@ -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 (file)
index 0000000..9dad54b
--- /dev/null
@@ -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"