summaryrefslogtreecommitdiff
path: root/decoder/test/i2c/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-03-28 23:55:22 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-03-28 23:55:22 +0200
commitbb082de64aa7223641c16cd666ab0d809b169a25 (patch)
treed3b5f6d3ce8c527644cdcccafd6163a999cbd4cb /decoder/test/i2c/test.conf
parent9eb0c2395f2ac35ee0ab45298e10b34ca5a02c9c (diff)
downloadsigrok-test-bb082de64aa7223641c16cd666ab0d809b169a25.tar.gz
sigrok-test-bb082de64aa7223641c16cd666ab0d809b169a25.zip
Add a Sensirion SHT3x test-case.
Diffstat (limited to 'decoder/test/i2c/test.conf')
-rw-r--r--decoder/test/i2c/test.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf
index 169c1ea..ed5535f 100644
--- a/decoder/test/i2c/test.conf
+++ b/decoder/test/i2c/test.conf
@@ -47,6 +47,16 @@ test sensirion_sht21_humidity35
output i2c binary class address-read match sensirion_sht21_humidity35.bin_address_read
output i2c binary class address-write match sensirion_sht21_humidity35.bin_address_write
+test sensirion_sht31_25rh_28rh
+ protocol-decoder i2c channel scl=2 channel sda=1
+ input i2c/sensirion_sht3x/sensirion_sht31_25rh_28rh.sr
+ output i2c annotation match sensirion_sht31_25rh_28rh.output
+ output i2c python match sensirion_sht31_25rh_28rh.python
+ output i2c binary class data-read match sensirion_sht31_25rh_28rh.bin_data_read
+ output i2c binary class data-write match sensirion_sht31_25rh_28rh.bin_data_write
+ output i2c binary class address-read match sensirion_sht31_25rh_28rh.bin_address_read
+ output i2c binary class address-write match sensirion_sht31_25rh_28rh.bin_address_write
+
test exception_samplerate
protocol-decoder i2c
input misc/no-samplerate.sr