From c68e96bc26222b03395853a2a5eda3e5949eb0c9 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 17 Apr 2019 20:09:07 +0200 Subject: i2c: Add ROHM BH1750VFI test-cases. --- decoder/test/i2c/test.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'decoder/test/i2c/test.conf') 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 -- cgit v1.2.3-70-g09d2