Configures the baud rate and data format of the specified serial port.
n = 1 | configure Primary DB9 port |
n = 2 | configure Secondary DB9 port |
n = 3 | configure RS485 port |
r = 1200 | 1200 Baud |
r = 2400 | 2400 Baud |
r = 4800 | 4800 Baud |
r = 9600 | 9600 Baud |
r = 19200 | 19200 Baud |
r = 38400 | 8400 Baud |
r = 57600 | 57600 Baud |
r = 115200 | 115200 Baud (default) |
d = 5,6,7 or 8 | number of data bits (default 8) |
p = n or N | no parity (default) |
p = e or E | even parity |
p = o or O | odd parity |
s = 1 or 2 | number of stop bits (default 1) |
f = 0 | no flow control (default) |
f = 1 | software flow control |
f = 2 | hardware flow control |
Notes:
Examples:
See also: Serial Port Settings