SMART6-L User Manual Rev 3
48
B.2 SERIALCONFIG Configure COM Port
This command is used to configure the receiver’s serial ports.
The current COM port configuration can be reset to the default state at any time by sending two hardware
break signals of 250 milliseconds each, spaced by fifteen hundred milliseconds (1.5 seconds), with a
pause of at least 250 milliseconds following the second break. This will:
•
Stop the logging of data on the current port (see
UNLOGALL
command in the
OEM6 Family
Firmware Reference Manual
)
.
•
Clear the transmit and receive buffers on the current port.
•
Return the current port to its default settings
•
Set the interface mode to NovAtel for both input and output (see
INTERFACEMODE
command in
the
OEM6 Family Firmware Reference Manual
).
Abbreviated ASCII Syntax:
Message ID: 4
SERIALCONFIG [port] bps [parity[databits[stopbits[handshake[echo[break]]]]]]
Factory Default:
SERIALCONFIG COM1 9600 N 8 1 N OFF ON
SERIALCONFIG COM2 9600 N 8 1 N OFF ON
SERIALCONFIG COM3 9600 N 8 1 N OFF ON
ASCII Example:
SERIALCONFIG COM1 57600 N 8 1 N OFF ON
Table 7: COM Serial Port Identifiers
Baud rates higher than 115,200 bps are not supported by standard computer hardware.
Special computer hardware may be required for higher rates, including 230400 bps, 460800
bps and 921600 bps. Also, some computers have trouble with baud rates beyond 57600
bps.
Use the
SERIALCONFIG
command before using the
INTERFACEMODE
command on each
port.
Watch for situations where the COM ports of two receivers are connected together and the
baud rates do not match. Data transmitted through a port operating at a slower baud rate
may be misinterpreted as break signals by the receiving port if it is operating at a higher
baud rate.
This is because data transmitted at the lower baud rate is stretched relative to the higher
baud rate. In this case, configure the receiving port to have break detection disabled using
the
SERIALCONFIG
command.
Binary
ASCII
Description
1
COM1
COM port 1
2
COM2
COM port 2
3
COM3
COM port 3
6
THISPORT
The current COM port
8
ALL
All COM ports