]> sigrok.org Git - sigrok-test.git/blame - decoder/test/nrf24l01/test.conf
nrf24l01: Add test cases.
[sigrok-test.git] / decoder / test / nrf24l01 / test.conf
CommitLineData
dd37a782
UH
1test activate
2 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
3 protocol-decoder nrf24l01
4 stack spi nrf24l01
5 input spi/nrf24l01/nrf24l01-test-activate.sr
6 output nrf24l01 annotation class cmd match nrf24l01_activate_cmd.output
7 output nrf24l01 annotation class warning match nrf24l01_activate_warning.output
8
9test communication-rx
10 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
11 protocol-decoder nrf24l01
12 stack spi nrf24l01
13 input spi/nrf24l01/nrf24l01-communication-rx.sr
14 output nrf24l01 annotation class rx-data match nrf24l01_communication_rx.output
15
16test communication-tx
17 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
18 protocol-decoder nrf24l01
19 stack spi nrf24l01
20 input spi/nrf24l01/nrf24l01-communication-tx.sr
21 output nrf24l01 annotation class tx-data match nrf24l01_communication_tx.output
22
23test excess-bytes
24 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
25 protocol-decoder nrf24l01
26 stack spi nrf24l01
27 input spi/nrf24l01/nrf24l01-test-excess-bytes.sr
28 output nrf24l01 annotation class warning match nrf24l01_excess_bytes_warning.output
29
17d8e99f
JS
30test incomplete-cmd
31 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
32 protocol-decoder nrf24l01
33 stack spi nrf24l01
34 input spi/nrf24l01/nrf24l01-test-incomplete-cmd.sr
35 output nrf24l01 annotation class cmd match nrf24l01_incomplete_cmd_cmd.output
36
dd37a782
UH
37test misc
38 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
39 protocol-decoder nrf24l01
40 stack spi nrf24l01
41 input spi/nrf24l01/nrf24l01-test-misc.sr
42 output nrf24l01 annotation class cmd match nrf24l01_misc_cmd.output
43 output nrf24l01 annotation class tx-data match nrf24l01_misc_tx_data.output
44 output nrf24l01 annotation class register match nrf24l01_misc_register.output
45 output nrf24l01 annotation class warning match nrf24l01_misc_warning.output
46
47test missing-bytes
48 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
49 protocol-decoder nrf24l01
50 stack spi nrf24l01
51 input spi/nrf24l01/nrf24l01-test-missing-bytes.sr
52 output nrf24l01 annotation class warning match nrf24l01_missing_bytes_warning.output
53
54test no-command
55 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
56 protocol-decoder nrf24l01
57 stack spi nrf24l01
58 input spi/nrf24l01/nrf24l01-test-no-command.sr
59 output nrf24l01 annotation class register match nrf24l01_no_command_register.output
60
17d8e99f
JS
61test no-cs
62 protocol-decoder spi channel clk=1 channel mosi=2 channel miso=3
63 protocol-decoder nrf24l01
64 stack spi nrf24l01
65 input spi/nrf24l01/nrf24l01-test-no-command.sr
66 output nrf24l01 exception match ChannelError
67
dd37a782
UH
68test no-mosi
69 protocol-decoder spi channel cs=0 channel clk=1 channel miso=3
70 protocol-decoder nrf24l01
71 stack spi nrf24l01
72 input spi/nrf24l01/nrf24l01-test-no-command.sr
73 output nrf24l01 exception match ChannelError
74
75test no-miso
76 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2
77 protocol-decoder nrf24l01
78 stack spi nrf24l01
79 input spi/nrf24l01/nrf24l01-test-no-command.sr
80 output nrf24l01 exception match ChannelError
81
82test unknown-command
83 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
84 protocol-decoder nrf24l01
85 stack spi nrf24l01
86 input spi/nrf24l01/nrf24l01-test-unknown-command.sr
87 output nrf24l01 annotation class warning match nrf24l01_unknown_command_warning.output
88
89test unknown-register
90 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
91 protocol-decoder nrf24l01
92 stack spi nrf24l01
93 input spi/nrf24l01/nrf24l01-test-unknown-register.sr
94 output nrf24l01 annotation class warning match nrf24l01_unknown_register_warning.output