
SMART6 User Manual Rev 3
68
B.8 SERIALCONFIG Configures serial port settings
This command is used to configure the receiver’s asynchronous serial port communications drivers.
The current SERIALCONFIG port configuration can be reset to its default state at any time by sending it 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 the
UNLOGALL
command in the
)
•
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 the
INTERFACEMODE
command
OEM6 Family Firmware Reference Manual
Message ID: 1246
Syntax:
SERIALCONFIG [port] baud [parity[databits[stopbits[handshaking[break]]]]]
Factory Defaults:
serialconfig com1 9600 n 8 1 n on
serialconfig com2 9600 n 8 1 n on
serialconfig aux 9600 n 8 1 n off
1. This replaces the
COM
command.
2. The
SERIALCONFIG
command can be used as a log to confirm settings.
3. The entire content of the current log is sent before pausing due to the receipt of the XOFF
character.
The AUX port does not support break detection. This applies to models with Bluetooth and
without Bluetooth.
1. The
COMCONTROL
command, may conflict with handshaking of the selected COM port. If
handshaking is enabled, then unexpected results may occur.
2. Baud rates higher than 115,200 bps are not supported by standard PC hardware. Special
PC hardware may be required for higher rates, including 230400 bps, 460800 bps and
921600 bps. Also, some PC's have trouble with baud rates beyond 57600 bps. 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.
Use the
SERIALCONFIG
command before using the
INTERFACEMODE
command on each
port. Turn break detection off using the
SERIALCONFIG
command to stop the port from
resetting because it is interpreting incoming bits as a break command.