summaryrefslogtreecommitdiff
path: root/decoder/test/nrf24l01/test.conf
blob: cbe0b04c8495841883e29d763413b744742baf00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
test activate
	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-activate.sr
	output nrf24l01 annotation class cmd     match nrf24l01_activate_cmd.output
	output nrf24l01 annotation class warning match nrf24l01_activate_warning.output

test communication-rx
	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-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
	protocol-decoder nrf24l01
	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
	protocol-decoder nrf24l01
	stack spi nrf24l01
	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
	stack spi nrf24l01
	input spi/nrf24l01/nrf24l01-test-misc.sr
	output nrf24l01 annotation class cmd      match nrf24l01_misc_cmd.output
	output nrf24l01 annotation class tx-data  match nrf24l01_misc_tx_data.output
	output nrf24l01 annotation class register match nrf24l01_misc_register.output
	output nrf24l01 annotation class warning  match nrf24l01_misc_warning.output

test missing-bytes
	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-missing-bytes.sr
	output nrf24l01 annotation class warning match nrf24l01_missing_bytes_warning.output

test no-command
	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-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
	protocol-decoder nrf24l01
	stack spi nrf24l01
	input spi/nrf24l01/nrf24l01-test-no-command.sr
	output nrf24l01 exception match ChannelError

test no-miso
	protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2
	protocol-decoder nrf24l01
	stack spi nrf24l01
	input spi/nrf24l01/nrf24l01-test-no-command.sr
	output nrf24l01 exception match ChannelError

test unknown-command
	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-unknown-command.sr
	output nrf24l01 annotation class warning match nrf24l01_unknown_command_warning.output

test unknown-register
	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-unknown-register.sr
	output nrf24l01 annotation class warning match nrf24l01_unknown_register_warning.output