]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/i2c/test.conf
Add a Sensirion SHT3x test-case.
[sigrok-test.git] / decoder / test / i2c / test.conf
index a510acdf6734b4c8ef98e5d0fb80c600bd2aac12..ed5535fd0bada31abf21639052a4e29317e75211 100644 (file)
@@ -23,6 +23,7 @@ test motherboard
 test xfp
        protocol-decoder i2c channel scl=0 channel sda=1
        input i2c/network-transceivers/xfp.sr
+       output i2c python match xfp.python
        output i2c binary class data-read match xfp.bin_data_read
        output i2c binary class data-write match xfp.bin_data_write
        output i2c binary class address-read match xfp.bin_address_read
@@ -32,9 +33,30 @@ test wii_nunchuk_init
        protocol-decoder i2c channel scl=0 channel sda=1
        input i2c/wii_nunchuk/wii_nunchuk_init.sr
        output i2c annotation match wii_nunchuk_init.output
+       output i2c python match wii_nunchuk_init.python
        output i2c binary class data-write match wii_nunchuk_init.bin_data_write
        output i2c binary class address-write match wii_nunchuk_init.bin_address_write
 
+test sensirion_sht21_humidity35
+       protocol-decoder i2c channel scl=2 channel sda=1
+       input i2c/sensirion_sht2x/sensirion_sht21_humidity35.sr
+       output i2c annotation match sensirion_sht21_humidity35.output
+       output i2c python match sensirion_sht21_humidity35.python
+       output i2c binary class data-read match sensirion_sht21_humidity35.bin_data_read
+       output i2c binary class data-write match sensirion_sht21_humidity35.bin_data_write
+       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