]> sigrok.org Git - sigrok-test.git/blame - decoder/test/nrf24l01/test.conf
timing: Update tests, add some more.
[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
7671c7dd 15 output nrf24l01 annotation class warning match empty.output
dd37a782
UH
16
17test communication-tx
18 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
19 protocol-decoder nrf24l01
20 stack spi nrf24l01
21 input spi/nrf24l01/nrf24l01-communication-tx.sr
22 output nrf24l01 annotation class tx-data match nrf24l01_communication_tx.output
7671c7dd 23 output nrf24l01 annotation class warning match empty.output
dd37a782
UH
24
25test excess-bytes
26 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
27 protocol-decoder nrf24l01
28 stack spi nrf24l01
29 input spi/nrf24l01/nrf24l01-test-excess-bytes.sr
30 output nrf24l01 annotation class warning match nrf24l01_excess_bytes_warning.output
31
17d8e99f
JS
32test incomplete-cmd
33 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
34 protocol-decoder nrf24l01
35 stack spi nrf24l01
36 input spi/nrf24l01/nrf24l01-test-incomplete-cmd.sr
37 output nrf24l01 annotation class cmd match nrf24l01_incomplete_cmd_cmd.output
7671c7dd 38 output nrf24l01 annotation class warning match empty.output
17d8e99f 39
dd37a782
UH
40test misc
41 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
42 protocol-decoder nrf24l01
43 stack spi nrf24l01
44 input spi/nrf24l01/nrf24l01-test-misc.sr
45 output nrf24l01 annotation class cmd match nrf24l01_misc_cmd.output
46 output nrf24l01 annotation class tx-data match nrf24l01_misc_tx_data.output
47 output nrf24l01 annotation class register match nrf24l01_misc_register.output
48 output nrf24l01 annotation class warning match nrf24l01_misc_warning.output
49
50test missing-bytes
51 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
52 protocol-decoder nrf24l01
53 stack spi nrf24l01
54 input spi/nrf24l01/nrf24l01-test-missing-bytes.sr
55 output nrf24l01 annotation class warning match nrf24l01_missing_bytes_warning.output
56
57test no-command
58 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
59 protocol-decoder nrf24l01
60 stack spi nrf24l01
61 input spi/nrf24l01/nrf24l01-test-no-command.sr
62 output nrf24l01 annotation class register match nrf24l01_no_command_register.output
7671c7dd 63 output nrf24l01 annotation class warning match empty.output
dd37a782 64
17d8e99f
JS
65test no-cs
66 protocol-decoder spi channel clk=1 channel mosi=2 channel miso=3
67 protocol-decoder nrf24l01
68 stack spi nrf24l01
69 input spi/nrf24l01/nrf24l01-test-no-command.sr
70 output nrf24l01 exception match ChannelError
71
dd37a782
UH
72test no-mosi
73 protocol-decoder spi channel cs=0 channel clk=1 channel miso=3
74 protocol-decoder nrf24l01
75 stack spi nrf24l01
76 input spi/nrf24l01/nrf24l01-test-no-command.sr
77 output nrf24l01 exception match ChannelError
78
79test no-miso
80 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2
81 protocol-decoder nrf24l01
82 stack spi nrf24l01
83 input spi/nrf24l01/nrf24l01-test-no-command.sr
84 output nrf24l01 exception match ChannelError
85
86test unknown-command
87 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
88 protocol-decoder nrf24l01
89 stack spi nrf24l01
90 input spi/nrf24l01/nrf24l01-test-unknown-command.sr
91 output nrf24l01 annotation class warning match nrf24l01_unknown_command_warning.output
92
93test unknown-register
94 protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
95 protocol-decoder nrf24l01
96 stack spi nrf24l01
97 input spi/nrf24l01/nrf24l01-test-unknown-register.sr
98 output nrf24l01 annotation class warning match nrf24l01_unknown_register_warning.output