-sercfg
: specify serial port configurationThis option specifies the configuration parameters for the serial port (baud rate, stop bits etc). Its argument is interpreted as a comma-separated list of configuration options, which can be as follows:
1
’, ‘1.5
’ or ‘2
’ sets the number of stop bits.
n
’ for none, ‘o
’ for odd, ‘e
’ for even, ‘m
’ for mark and ‘s
’ for space.
N
’ for none, ‘X
’ for XON/XOFF, ‘R
’ for RTS/CTS and ‘D
’ for DSR/DTR.
For example, ‘-sercfg 19200,8,n,1,N
’ denotes a baud rate of 19200, 8 data bits, no parity, 1 stop bit and no flow control.