X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoder%2Ftest%2Fnrf24l01%2Ftest.conf;h=cbe0b04c8495841883e29d763413b744742baf00;hb=a158bea3e47d88423feb9bba5752ab5e4655fd14;hp=986d30d95fdb262ad8e0d65c642b3fe684837dba;hpb=dd37a782a8637bdee703a13c949b222b9ba8b95d;p=sigrok-test.git diff --git a/decoder/test/nrf24l01/test.conf b/decoder/test/nrf24l01/test.conf index 986d30d..cbe0b04 100644 --- a/decoder/test/nrf24l01/test.conf +++ b/decoder/test/nrf24l01/test.conf @@ -12,6 +12,7 @@ test communication-rx stack spi nrf24l01 input spi/nrf24l01/nrf24l01-communication-rx.sr output nrf24l01 annotation class rx-data match nrf24l01_communication_rx.output + output nrf24l01 annotation class warning match empty.output test communication-tx protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3 @@ -19,6 +20,7 @@ test communication-tx stack spi nrf24l01 input spi/nrf24l01/nrf24l01-communication-tx.sr output nrf24l01 annotation class tx-data match nrf24l01_communication_tx.output + output nrf24l01 annotation class warning match empty.output test excess-bytes protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3 @@ -27,6 +29,14 @@ test excess-bytes input spi/nrf24l01/nrf24l01-test-excess-bytes.sr output nrf24l01 annotation class warning match nrf24l01_excess_bytes_warning.output +test incomplete-cmd + protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3 + protocol-decoder nrf24l01 + stack spi nrf24l01 + input spi/nrf24l01/nrf24l01-test-incomplete-cmd.sr + output nrf24l01 annotation class cmd match nrf24l01_incomplete_cmd_cmd.output + output nrf24l01 annotation class warning match empty.output + test misc protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3 protocol-decoder nrf24l01 @@ -50,6 +60,14 @@ test no-command stack spi nrf24l01 input spi/nrf24l01/nrf24l01-test-no-command.sr output nrf24l01 annotation class register match nrf24l01_no_command_register.output + output nrf24l01 annotation class warning match empty.output + +test no-cs + protocol-decoder spi channel clk=1 channel mosi=2 channel miso=3 + protocol-decoder nrf24l01 + stack spi nrf24l01 + input spi/nrf24l01/nrf24l01-test-no-command.sr + output nrf24l01 exception match ChannelError test no-mosi protocol-decoder spi channel cs=0 channel clk=1 channel miso=3