summaryrefslogtreecommitdiff
path: root/decoder/test/uart/test.conf
blob: 71108b0df30f873faaad6fea75c1e87e47556622 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
test trekstor_ebr30_a
	protocol-decoder uart channel rx=1 option format=ascii
	input uart/trekstor_ebr30_a/trekstor_ebr30_a_uart.sr
	output uart annotation class rx-data match trekstor_rx.output
	output uart annotation class tx-data match trekstor_tx.output
	output uart annotation match trekstor.output
	output uart python match trekstor.python
	output uart binary class rx match trekstor_bin_rx.output
	output uart binary class tx match trekstor_bin_tx.output
	output uart binary class rxtx match trekstor_bin_rx.output

test hello_world_7o1_115200
	protocol-decoder uart channel tx=0 option baudrate=115200 option parity=odd option data_bits=7 option format=ascii
	input uart/hello_world/7o1/hello_world_7o1_115200.sr
	output uart annotation match hello_world_7o1_115200.output
	output uart python match hello_world_7o1_115200.python
	output uart binary class tx match hello_world_7o1_115200.bin_tx

# Intentionally cause parity errors.
test hello_world_7o1_115200_parity_err
	protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option data_bits=7 option format=ascii
	input uart/hello_world/7o1/hello_world_7o1_115200.sr
	output uart annotation match hello_world_7o1_115200_parity_err.output
	output uart python match hello_world_7o1_115200_parity_err.python
	output uart binary class tx match hello_world_7o1_115200_parity_err.bin_tx

test hello_world_7o1_115200_parity_ignore
	protocol-decoder uart channel tx=0 option baudrate=115200 option parity=ignore option data_bits=7 option format=ascii
	input uart/hello_world/7o1/hello_world_7o1_115200.sr
	output uart annotation match hello_world_7o1_115200_parity_ignore.output
	output uart python match hello_world_7o1_115200_parity_ignore.python
	output uart binary class tx match hello_world_7o1_115200_parity_ignore.bin_tx

test hello_world_7e1_115200
	protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option data_bits=7 option format=ascii
	input uart/hello_world/7e1/hello_world_7e1_115200.sr
	output uart annotation match hello_world_7e1_115200.output
	output uart python match hello_world_7e1_115200.python
	output uart binary class tx match hello_world_7e1_115200.bin_tx

test hello_world_8e1_115200
	protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option format=ascii
	input uart/hello_world/8e1/hello_world_8e1_115200.sr
	output uart annotation match hello_world_8e1_115200.output
	output uart python match hello_world_8e1_115200.python
	output uart binary class tx match hello_world_8e1_115200.bin_tx

test hello_world_8n1_1200
	protocol-decoder uart channel tx=0 option baudrate=1200 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_1200.sr
	output uart annotation match hello_world_8n1_1200.output
	output uart python match hello_world_8n1_1200.python
	output uart binary class tx match hello_world_8n1_1200.bin_tx

test hello_world_8n1_2400
	protocol-decoder uart channel tx=0 option baudrate=2400 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_2400.sr
	output uart annotation match hello_world_8n1_2400.output
	output uart python match hello_world_8n1_2400.python
	output uart binary class tx match hello_world_8n1_2400.bin_tx

test hello_world_8n1_4800
	protocol-decoder uart channel tx=0 option baudrate=4800 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_4800.sr
	output uart annotation match hello_world_8n1_4800.output
	output uart python match hello_world_8n1_4800.python
	output uart binary class tx match hello_world_8n1_4800.bin_tx

test hello_world_8n1_9600
	protocol-decoder uart channel tx=0 option baudrate=9600 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_9600.sr
	output uart annotation match hello_world_8n1_9600.output
	output uart python match hello_world_8n1_9600.python
	output uart binary class tx match hello_world_8n1_9600.bin_tx

test hello_world_8n1_19200
	protocol-decoder uart channel tx=0 option baudrate=19200 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_19200.sr
	output uart annotation match hello_world_8n1_19200.output
	output uart python match hello_world_8n1_19200.python
	output uart binary class tx match hello_world_8n1_19200.bin_tx

test hello_world_8n1_38400
	protocol-decoder uart channel tx=0 option baudrate=38400 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_38400.sr
	output uart annotation match hello_world_8n1_38400.output
	output uart python match hello_world_8n1_38400.python
	output uart binary class tx match hello_world_8n1_38400.bin_tx

test hello_world_8n1_57600
	protocol-decoder uart channel tx=0 option baudrate=57600 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_57600.sr
	output uart annotation match hello_world_8n1_57600.output
	output uart python match hello_world_8n1_57600.python
	output uart binary class tx match hello_world_8n1_57600.bin_tx

test hello_world_8n1_115200
	protocol-decoder uart channel tx=0 option baudrate=115200 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_115200.sr
	output uart annotation match hello_world_8n1_115200.output
	output uart python match hello_world_8n1_115200.python
	output uart binary class tx match hello_world_8n1_115200.bin_tx

test hello_world_8n1_230400
	protocol-decoder uart channel tx=0 option baudrate=230400 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_230400.sr
	output uart annotation match hello_world_8n1_230400.output
	output uart python match hello_world_8n1_230400.python
	output uart binary class tx match hello_world_8n1_230400.bin_tx

test hello_world_8n1_460800
	protocol-decoder uart channel tx=0 option baudrate=460800 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_460800.sr
	output uart annotation match hello_world_8n1_460800.output
	output uart python match hello_world_8n1_460800.python
	output uart binary class tx match hello_world_8n1_460800.bin_tx

test hello_world_8n1_921600
	protocol-decoder uart channel tx=0 option baudrate=921600 option format=ascii
	input uart/hello_world/8n1/hello_world_8n1_921600.sr
	output uart annotation match hello_world_8n1_921600.output
	output uart python match hello_world_8n1_921600.python
	output uart binary class tx match hello_world_8n1_921600.bin_tx

test hello_world_8o1_115200
	protocol-decoder uart channel tx=0 option baudrate=115200 option parity=odd option format=ascii
	input uart/hello_world/8o1/hello_world_8o1_115200.sr
	output uart annotation match hello_world_8o1_115200.output
	output uart python match hello_world_8o1_115200.python
	output uart binary class tx match hello_world_8o1_115200.bin_tx

test rxtx_overlapped
	protocol-decoder uart channel rx=3 channel tx=4 option format=hex option tx_packet_len=2 option rx_packet_len=5
	input uart/rxtx_overlapped/rxtx_overlapped.sr
	output uart annotation match rxtx_overlapped.output
	output uart python match rxtx_overlapped.python
	output uart binary class rx match rxtx_overlapped.bin_rx
	output uart binary class tx match rxtx_overlapped.bin_tx

test uart_count_19200_5n1_hex
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=hex option tx_packet_len=16
	input uart/counter/uart_count_19200_5n1.sr
	output uart annotation match uart_count_19200_5n1_hex.output
	output uart python match uart_count_19200_5n1.python
	output uart binary class tx match uart_count_19200_5n1.bin_tx

test uart_count_19200_5n1_ascii
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=ascii
	input uart/counter/uart_count_19200_5n1.sr
	output uart annotation match uart_count_19200_5n1_ascii.output
	output uart python match uart_count_19200_5n1.python
	output uart binary class tx match uart_count_19200_5n1.bin_tx

test uart_count_19200_5n1_dec
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=dec option tx_packet_len=16
	input uart/counter/uart_count_19200_5n1.sr
	output uart annotation match uart_count_19200_5n1_dec.output
	output uart python match uart_count_19200_5n1.python
	output uart binary class tx match uart_count_19200_5n1.bin_tx

test uart_count_19200_5n1_oct
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=oct
	input uart/counter/uart_count_19200_5n1.sr
	output uart annotation match uart_count_19200_5n1_oct.output
	output uart python match uart_count_19200_5n1.python
	output uart binary class tx match uart_count_19200_5n1.bin_tx

test uart_count_19200_5n1_bin
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=bin
	input uart/counter/uart_count_19200_5n1.sr
	output uart annotation match uart_count_19200_5n1_bin.output
	output uart python match uart_count_19200_5n1.python
	output uart binary class tx match uart_count_19200_5n1.bin_tx

test uart_count_19200_6n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=hex option tx_packet_len=16
	input uart/counter/uart_count_19200_6n1.sr
	output uart annotation match uart_count_19200_6n1_hex.output
	output uart python match uart_count_19200_6n1.python
	output uart binary class tx match uart_count_19200_6n1.bin_tx

test uart_count_19200_6n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=ascii
	input uart/counter/uart_count_19200_6n1.sr
	output uart annotation match uart_count_19200_6n1_ascii.output
	output uart python match uart_count_19200_6n1.python
	output uart binary class tx match uart_count_19200_6n1.bin_tx

test uart_count_19200_6n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=dec option tx_packet_len=16
	input uart/counter/uart_count_19200_6n1.sr
	output uart annotation match uart_count_19200_6n1_dec.output
	output uart python match uart_count_19200_6n1.python
	output uart binary class tx match uart_count_19200_6n1.bin_tx

test uart_count_19200_6n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=oct
	input uart/counter/uart_count_19200_6n1.sr
	output uart annotation match uart_count_19200_6n1_oct.output
	output uart python match uart_count_19200_6n1.python
	output uart binary class tx match uart_count_19200_6n1.bin_tx

test uart_count_19200_6n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=bin
	input uart/counter/uart_count_19200_6n1.sr
	output uart annotation match uart_count_19200_6n1_bin.output
	output uart python match uart_count_19200_6n1.python
	output uart binary class tx match uart_count_19200_6n1.bin_tx

test uart_count_19200_7n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=hex option tx_packet_len=16
	input uart/counter/uart_count_19200_7n1.sr
	output uart annotation match uart_count_19200_7n1_hex.output
	output uart python match uart_count_19200_7n1.python
	output uart binary class tx match uart_count_19200_7n1.bin_tx

test uart_count_19200_7n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=ascii
	input uart/counter/uart_count_19200_7n1.sr
	output uart annotation match uart_count_19200_7n1_ascii.output
	output uart python match uart_count_19200_7n1.python
	output uart binary class tx match uart_count_19200_7n1.bin_tx

test uart_count_19200_7n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=dec option tx_packet_len=16
	input uart/counter/uart_count_19200_7n1.sr
	output uart annotation match uart_count_19200_7n1_dec.output
	output uart python match uart_count_19200_7n1.python
	output uart binary class tx match uart_count_19200_7n1.bin_tx

test uart_count_19200_7n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=oct
	input uart/counter/uart_count_19200_7n1.sr
	output uart annotation match uart_count_19200_7n1_oct.output
	output uart python match uart_count_19200_7n1.python
	output uart binary class tx match uart_count_19200_7n1.bin_tx

test uart_count_19200_7n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=bin
	input uart/counter/uart_count_19200_7n1.sr
	output uart annotation match uart_count_19200_7n1_bin.output
	output uart python match uart_count_19200_7n1.python
	output uart binary class tx match uart_count_19200_7n1.bin_tx

test uart_count_19200_8n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=hex option tx_packet_len=16
	input uart/counter/uart_count_19200_8n1.sr
	output uart annotation match uart_count_19200_8n1_hex.output
	output uart python match uart_count_19200_8n1.python
	output uart binary class tx match uart_count_19200_8n1.bin_tx

test uart_count_19200_8n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=ascii option tx_packet_len=16
	input uart/counter/uart_count_19200_8n1.sr
	output uart annotation match uart_count_19200_8n1_ascii.output
	output uart python match uart_count_19200_8n1.python
	output uart binary class tx match uart_count_19200_8n1.bin_tx

test uart_count_19200_8n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=dec option tx_packet_len=16
	input uart/counter/uart_count_19200_8n1.sr
	output uart annotation match uart_count_19200_8n1_dec.output
	output uart python match uart_count_19200_8n1.python
	output uart binary class tx match uart_count_19200_8n1.bin_tx

test uart_count_19200_8n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=oct option tx_packet_len=16
	input uart/counter/uart_count_19200_8n1.sr
	output uart annotation match uart_count_19200_8n1_oct.output
	output uart python match uart_count_19200_8n1.python
	output uart binary class tx match uart_count_19200_8n1.bin_tx

test uart_count_19200_8n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=bin option tx_packet_len=16
	input uart/counter/uart_count_19200_8n1.sr
	output uart annotation match uart_count_19200_8n1_bin.output
	output uart python match uart_count_19200_8n1.python
	output uart binary class tx match uart_count_19200_8n1.bin_tx

test uart_count_19200_9n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=hex option tx_packet_len=16
	input uart/counter/uart_count_19200_9n1.sr
	output uart annotation match uart_count_19200_9n1_hex.output
	output uart python match uart_count_19200_9n1.python
	output uart binary class tx match uart_count_19200_9n1.bin_tx

test uart_count_19200_9n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=ascii
	input uart/counter/uart_count_19200_9n1.sr
	output uart annotation match uart_count_19200_9n1_ascii.output
	output uart python match uart_count_19200_9n1.python
	output uart binary class tx match uart_count_19200_9n1.bin_tx

test uart_count_19200_9n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=dec option tx_packet_len=16
	input uart/counter/uart_count_19200_9n1.sr
	output uart annotation match uart_count_19200_9n1_dec.output
	output uart python match uart_count_19200_9n1.python
	output uart binary class tx match uart_count_19200_9n1.bin_tx

test uart_count_19200_9n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=oct
	input uart/counter/uart_count_19200_9n1.sr
	output uart annotation match uart_count_19200_9n1_oct.output
	output uart python match uart_count_19200_9n1.python
	output uart binary class tx match uart_count_19200_9n1.bin_tx

test uart_count_19200_9n1
	protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=bin
	input uart/counter/uart_count_19200_9n1.sr
	output uart annotation match uart_count_19200_9n1_bin.output
	output uart python match uart_count_19200_9n1.python
	output uart binary class tx match uart_count_19200_9n1.bin_tx

test cyrustek_es51978
	protocol-decoder uart channel rx=0 option baudrate=2400 option data_bits=7 option parity=odd option format=ascii option rx_packet_delim=10
	input uart/cyrustek_es51978/es51978.sr
	output uart annotation match cyrustek_es51978.output
	output uart python match cyrustek_es51978.python
	output uart binary class rx match cyrustek_es51978.bin_rx

test mtk3339_8n1_9600
	protocol-decoder uart channel tx=0 option baudrate=9600 option format=ascii option tx_packet_delim=10
	input uart/gps/mtk3339/mtk3339_8n1_9600.sr
	output uart annotation match mtk3339_8n1_9600.output
	output uart python match mtk3339_8n1_9600.python
	output uart binary class tx match mtk3339_8n1_9600.bin_tx

test kern_ew_6200-2nm_tare
	protocol-decoder uart channel rx=0 option baudrate=1200 option format=ascii option rx_packet_delim=10
	input uart/kern_ew_6200-2nm/kern_ew_6200-2nm_tare.sr
	output uart annotation match kern_ew_6200-2nm_tare.output
	output uart python match kern_ew_6200-2nm_tare.python
	output uart binary class rx match kern_ew_6200-2nm_tare.bin_rx

test max3232e_hello_world_57600_8n1
	protocol-decoder uart channel rx=1 channel tx=2 option baudrate=57600 option format=ascii option invert_rx=yes option rx_packet_delim=10 option tx_packet_delim=10
	input uart/maxim_max3232e/max3232e_hello_world_57600_8n1.sr
	output uart annotation match max3232e_hello_world_57600_8n1.output
	output uart python match max3232e_hello_world_57600_8n1.python
	output uart binary class rx match max3232e_hello_world_57600_8n1.bin_rx
	output uart binary class tx match max3232e_hello_world_57600_8n1.bin_tx

test grbl_cnc_1
	protocol-decoder uart channel rx=3 channel tx=2 option format=ascii option rx_packet_delim=10 option tx_packet_delim=10
	input stepper_motor/grbl_cnc/grbl_cnc_1.sr
	output uart annotation class tx-packet match grbl_cnc_1_tx_packet.output
	output uart annotation class rx-packet match grbl_cnc_1_rx_packet.output

test grbl_cnc_2
	protocol-decoder uart channel rx=3 channel tx=2 option format=ascii option rx_packet_delim=10 option tx_packet_delim=10
	input stepper_motor/grbl_cnc/grbl_cnc_2.sr
	output uart annotation class tx-packet match grbl_cnc_2_tx_packet.output
	output uart annotation class rx-packet match grbl_cnc_2_rx_packet.output

test grbl_cnc_3
	protocol-decoder uart channel tx=2 option format=ascii option tx_packet_delim=10
	input stepper_motor/grbl_cnc/grbl_cnc_3.sr
	output uart annotation class tx-packet match grbl_cnc_3_tx_packet.output

test exception_samplerate
	protocol-decoder uart
	input misc/no-samplerate.sr
	output uart exception match SamplerateError