From 4b3d30ebf045f0a22198adeaf555fd46334b8200 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 27 Nov 2014 01:05:11 +0100 Subject: am230x: Add a few AM230x/DHT11 tests. --- decoder/test/am230x/test.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 decoder/test/am230x/test.conf (limited to 'decoder/test/am230x/test.conf') diff --git a/decoder/test/am230x/test.conf b/decoder/test/am230x/test.conf new file mode 100644 index 0000000..8c3d7ff --- /dev/null +++ b/decoder/test/am230x/test.conf @@ -0,0 +1,24 @@ +test exception_samplerate + protocol-decoder am230x + input misc/no-samplerate.sr + output am230x exception match SamplerateError + +test am2301 + protocol-decoder am230x channel sda=5 + input am230x/am2301/am2301_1mhz.sr + output am230x annotation match am2301_1mhz.output + +test am2302 + protocol-decoder am230x channel sda=0 + input am230x/am2302/am2302_1mhz.sr + output am230x annotation match am2302_1mhz.output + +test am2303 + protocol-decoder am230x channel sda=0 + input am230x/am2303/am2303_1mhz.sr + output am230x annotation match am2303_1mhz.output + +test dht11 + protocol-decoder am230x channel sda=5 option device=dht11 + input am230x/dht11/dht11_1mhz.sr + output am230x annotation match dht11_1mhz.output -- cgit v1.2.3-70-g09d2