SERIALCONFIG
Configures serial port settings
Platform: |
OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2 |
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 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)
-
Clear the transmit and receive buffers on the current port
-
Return the current port to its default settings (see Command Defaults for details)
-
Set the interface mode to NovAtel for both input and output (see the INTERFACEMODE command)
This break detection can be 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.
Message ID: 1246
Abbreviated ASCII 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 COM3 9600 N 8 1 N ON
SERIALCONFIG COM4 9600 N 8 1 N ON
SERIALCONFIG COM5 9600 N 8 1 N ON
ASCII Example:
SERIALCONFIG com1 9600 n 8 1 n off
Field |
Field Type |
ASCII Value |
Binary Value |
Description |
Format |
Binary Bytes |
Binary Offset |
1 |
Command header |
- |
- |
SERIALCONFIG header This field contains the command name for abbreviated ASCII or the message header for ASCII (see page 1) or Binary (see page 1). |
- |
H |
0 |
2 |
port |
Port to configure |
Enum |
4 |
H |
||
3 |
bps/baud |
2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 and 460800 |
Communication baud rate (bps). |
Ulong |
4 |
H+4 |
|
4 |
parity |
See Table: Parity |
Parity |
Enum |
4 |
H+8 |
|
5 |
databits |
7 or 8 |
Number of data bits |
Ulong |
4 |
H+12 |
|
6 |
stopbits |
1 or 2 |
Number of stop bits |
Ulong |
4 |
H+16 |
|
7 |
handshake1 |
Handshaking |
Enum |
4 |
H+20 |
||
8 |
break |
OFF |
0 |
Disable break detection |
Enum |
4 |
H+24 |
ON |
1 |
Enable break detection (default) |
Binary |
ASCII |
Description |
0 |
N |
No parity (default) |
1 |
E |
Even parity |
2 |
O |
Odd parity |
Binary |
ASCII |
Description |
0 |
N |
No handshaking (default) |
1 |
XON |
XON/XOFF software handshaking |
2 |
CTS |
CTS/RTS hardware handshaking |