summaryrefslogtreecommitdiff
path: root/decoder/test/i2c/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/test/i2c/test.conf')
-rw-r--r--decoder/test/i2c/test.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf
index e4acf83..bf8249b 100644
--- a/decoder/test/i2c/test.conf
+++ b/decoder/test/i2c/test.conf
@@ -68,3 +68,23 @@ test sensirion_sht31_25rh_28rh
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 bh1750_hresolutionmode
+ protocol-decoder i2c channel scl=0 channel sda=1
+ input i2c/rohm_bh1750/bh1750_hresolutionmode.sr
+ output i2c annotation match bh1750_hresolutionmode.output
+ output i2c python match bh1750_hresolutionmode.python
+ output i2c binary class data-read match bh1750_hresolutionmode.bin_data_read
+ output i2c binary class data-write match bh1750_hresolutionmode.bin_data_write
+ output i2c binary class address-read match bh1750_hresolutionmode.bin_address_read
+ output i2c binary class address-write match bh1750_hresolutionmode.bin_address_write
+
+test bh1750_h2resolutionmode
+ protocol-decoder i2c channel scl=0 channel sda=1
+ input i2c/rohm_bh1750/bh1750_h2resolutionmode.sr
+ output i2c annotation match bh1750_h2resolutionmode.output
+ output i2c python match bh1750_h2resolutionmode.python
+ output i2c binary class data-read match bh1750_h2resolutionmode.bin_data_read
+ output i2c binary class data-write match bh1750_h2resolutionmode.bin_data_write
+ output i2c binary class address-read match bh1750_h2resolutionmode.bin_address_read
+ output i2c binary class address-write match bh1750_h2resolutionmode.bin_address_write