From a487901a9965921dc9118e60e4cfcc68fff2ff3f Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 17 Apr 2019 22:38:35 +0200 Subject: cc1101: Add a few test-cases. --- decoder/test/cc1101/test.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 decoder/test/cc1101/test.conf (limited to 'decoder/test/cc1101/test.conf') diff --git a/decoder/test/cc1101/test.conf b/decoder/test/cc1101/test.conf new file mode 100644 index 0000000..db46b38 --- /dev/null +++ b/decoder/test/cc1101/test.conf @@ -0,0 +1,27 @@ +test cc1101-burst-read + protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5 + protocol-decoder cc1101 + stack spi cc1101 + input spi/cc1101/cc1101-burst-read.sr + output cc1101 annotation match cc1101-burst-read.output + +test cc1101-burst-write + protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5 + protocol-decoder cc1101 + stack spi cc1101 + input spi/cc1101/cc1101-burst-write.sr + output cc1101 annotation match cc1101-burst-write.output + +test cc1101-command-strobe + protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5 + protocol-decoder cc1101 + stack spi cc1101 + input spi/cc1101/cc1101-command-strobe.sr + output cc1101 annotation match cc1101-command-strobe.output + +test cc1101-read-write + protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5 + protocol-decoder cc1101 + stack spi cc1101 + input spi/cc1101/cc1101-read-write.sr + output cc1101 annotation match cc1101-read-write.output -- cgit v1.2.3-70-g09d2