summaryrefslogtreecommitdiff
path: root/decoder/test/am230x/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/test/am230x/test.conf')
-rw-r--r--decoder/test/am230x/test.conf24
1 files changed, 24 insertions, 0 deletions
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