]> sigrok.org Git - sigrok-test.git/commitdiff
maxim_ds28ea00: Add a test-case.
authorUwe Hermann <redacted>
Tue, 21 Jul 2015 20:52:43 +0000 (22:52 +0200)
committerUwe Hermann <redacted>
Wed, 22 Jul 2015 16:05:08 +0000 (18:05 +0200)
decoder/test/maxim_ds28ea00/ds28ea00.output [new file with mode: 0644]
decoder/test/maxim_ds28ea00/test.conf [new file with mode: 0644]

diff --git a/decoder/test/maxim_ds28ea00/ds28ea00.output b/decoder/test/maxim_ds28ea00/ds28ea00.output
new file mode 100644 (file)
index 0000000..ebb028f
--- /dev/null
@@ -0,0 +1,26 @@
+513-992 maxim_ds28ea00: text: "Reset/presence: true"
+6205-13943 maxim_ds28ea00: text: "ROM: 0x6700000003a6a842"
+17125-17583 maxim_ds28ea00: text: "Function command: 0xbe 'Read scratchpad'"
+20142-20602 maxim_ds28ea00: text: "Scratchpad data: 0xaf"
+21183-21643 maxim_ds28ea00: text: "Scratchpad data: 0x01"
+22223-22683 maxim_ds28ea00: text: "Scratchpad data: 0x03"
+23263-23723 maxim_ds28ea00: text: "Scratchpad data: 0x03"
+24303-24763 maxim_ds28ea00: text: "Scratchpad data: 0x7f"
+25343-25803 maxim_ds28ea00: text: "Scratchpad data: 0xff"
+26383-26843 maxim_ds28ea00: text: "Scratchpad data: 0x01"
+27423-27883 maxim_ds28ea00: text: "Scratchpad data: 0x10"
+28463-28923 maxim_ds28ea00: text: "Scratchpad data: 0x53"
+33689-34168 maxim_ds28ea00: text: "Reset/presence: true"
+39381-47118 maxim_ds28ea00: text: "ROM: 0x6700000003a6a842"
+52107-58406 maxim_ds28ea00: text: "Function command: 0x44 'Convert temperature'"
+1065552-1066031 maxim_ds28ea00: text: "Reset/presence: true"
+1071140-1078877 maxim_ds28ea00: text: "ROM: 0x6700000003a6a842"
+1082059-1082517 maxim_ds28ea00: text: "Function command: 0xbe 'Read scratchpad'"
+1085077-1085537 maxim_ds28ea00: text: "Scratchpad data: 0xae"
+1086117-1086577 maxim_ds28ea00: text: "Scratchpad data: 0x01"
+1087157-1087617 maxim_ds28ea00: text: "Scratchpad data: 0x03"
+1088197-1088657 maxim_ds28ea00: text: "Scratchpad data: 0x03"
+1089237-1089697 maxim_ds28ea00: text: "Scratchpad data: 0x7f"
+1090277-1090737 maxim_ds28ea00: text: "Scratchpad data: 0xff"
+1091317-1091777 maxim_ds28ea00: text: "Scratchpad data: 0x02"
+1092357-1092817 maxim_ds28ea00: text: "Scratchpad data: 0x10"
diff --git a/decoder/test/maxim_ds28ea00/test.conf b/decoder/test/maxim_ds28ea00/test.conf
new file mode 100644 (file)
index 0000000..91a692e
--- /dev/null
@@ -0,0 +1,7 @@
+test ds28ea00
+       protocol-decoder onewire_link channel owr=0
+       protocol-decoder onewire_network
+       protocol-decoder maxim_ds28ea00
+       stack onewire_link onewire_network maxim_ds28ea00
+       input onewire/owfs/ds28ea00.sr
+       output maxim_ds28ea00 annotation match ds28ea00.output