From 593412c8e6750e3efe5bc5bc575f4222a441ac26 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 1 Sep 2015 21:59:32 +0200 Subject: i2cfilter: Add a few test-cases. --- decoder/test/i2cfilter/test.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 decoder/test/i2cfilter/test.conf (limited to 'decoder/test/i2cfilter/test.conf') diff --git a/decoder/test/i2cfilter/test.conf b/decoder/test/i2cfilter/test.conf new file mode 100644 index 0000000..03955af --- /dev/null +++ b/decoder/test/i2cfilter/test.conf @@ -0,0 +1,13 @@ +test trekstor_ebr30_a_i2c_0x15_52 + protocol-decoder i2c channel scl=0 channel sda=1 + protocol-decoder i2cfilter option address=52 + stack i2c i2cfilter + input i2c/trekstor_ebr30_a/trekstor_ebr30_a_i2c_0x15.sr + output i2cfilter python match trekstor_ebr30_a_i2c_0x15_52.python + +test trekstor_ebr30_a_i2c_0x15_21 + protocol-decoder i2c channel scl=0 channel sda=1 + protocol-decoder i2cfilter option address=21 + stack i2c i2cfilter + input i2c/trekstor_ebr30_a/trekstor_ebr30_a_i2c_0x15.sr + output i2cfilter python match trekstor_ebr30_a_i2c_0x15_21.python -- cgit v1.2.3-54-g00ecf