diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-07-21 22:52:43 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-07-22 18:05:08 +0200 |
commit | 52fac9de0ed447643b554b633b0992022c2333dc (patch) | |
tree | 425a12a2df5c33330bef6ffb206524cd7995c9a1 /decoder/test | |
parent | 4dad8736922c652b5ce71d4b3f7b40f37efa8fae (diff) | |
download | sigrok-test-52fac9de0ed447643b554b633b0992022c2333dc.tar.gz sigrok-test-52fac9de0ed447643b554b633b0992022c2333dc.zip |
maxim_ds28ea00: Add a test-case.
Diffstat (limited to 'decoder/test')
-rw-r--r-- | decoder/test/maxim_ds28ea00/ds28ea00.output | 26 | ||||
-rw-r--r-- | decoder/test/maxim_ds28ea00/test.conf | 7 |
2 files changed, 33 insertions, 0 deletions
diff --git a/decoder/test/maxim_ds28ea00/ds28ea00.output b/decoder/test/maxim_ds28ea00/ds28ea00.output new file mode 100644 index 0000000..ebb028f --- /dev/null +++ b/decoder/test/maxim_ds28ea00/ds28ea00.output @@ -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 index 0000000..91a692e --- /dev/null +++ b/decoder/test/maxim_ds28ea00/test.conf @@ -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 |