From 0169b5597c2cd156629a2381465259640deaabde Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 19 Oct 2016 19:34:23 +0200 Subject: uart: Add test-cases for 5n1, 6n1, 7n1, 8n1, 9n1. --- decoder/test/uart/test.conf | 175 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) (limited to 'decoder/test/uart/test.conf') diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf index f501edb..d6db479 100644 --- a/decoder/test/uart/test.conf +++ b/decoder/test/uart/test.conf @@ -122,6 +122,181 @@ test rxtx_overlapped 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 num_data_bits=5 option format=hex + 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 num_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 num_data_bits=5 option format=dec + 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 num_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 num_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 num_data_bits=6 option format=hex + 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 num_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 num_data_bits=6 option format=dec + 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 num_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 num_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 num_data_bits=7 option format=hex + 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 num_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 num_data_bits=7 option format=dec + 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 num_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 num_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 num_data_bits=8 option format=hex + 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 num_data_bits=8 option format=ascii + 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 num_data_bits=8 option format=dec + 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 num_data_bits=8 option format=oct + 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 num_data_bits=8 option format=bin + 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 num_data_bits=9 option format=hex + 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 num_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 num_data_bits=9 option format=dec + 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 num_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 num_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 exception_samplerate protocol-decoder uart input misc/no-samplerate.sr -- cgit v1.2.3-54-g00ecf