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.

 

  1. Also refer to the ECHO 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 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.

 

  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 and 460800 bps. Avoid having COM ports of two receivers connected together using baud rates that 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 because data transmitted at the lower baud rate is stretched relative to the higher baud rate. In this case, configure the receiving port to 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.

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 or Binary.

-

H

0

2

port

See Table: COM Port Identifiers

Port to configure
(default = THISPORT)

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
(default = 8)

Ulong

4

H+12

6

stopbits

1 or 2

Number of stop bits
(default = 1)

Ulong

4

H+16

7

handshake1

See Table: Handshaking

Handshaking

Enum

4

H+20

8

break

OFF

0

Disable break detection

Enum

4

H+24

ON

1

Enable break detection (default)

COM Port Identifiers

Binary

ASCII

Description

Applicable Receiver

1

COM1

COM port 1

OEM719, OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, SMART7

2

COM2

COM port 2

OEM719, OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, SMART7

3

COM3

COM port 3

OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, SMART7

6

THISPORT

The current COM port

OEM719, OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7

19

COM4

COM port 4

OEM7700, OEM7600, OEM7720

21

IMU

IMU COM port

dependent on hardware configuration

31

COM5

COM port 5

OEM7700, OEM7600, OEM7720

32

COM6

COM port 6

 

33

BT1

Bluetooth COM port

dependent on hardware configuration

34

COM7

COM port 7

 

35

COM8

COM port 8

 

36

COM9

COM port 9

 

37

COM10

COM port 10

 

Parity

Binary

ASCII

Description

0

N

No parity (default)

1

E

Even parity

2

O

Odd parity

Handshaking

Binary

ASCII

Description

0

N

No handshaking (default)

1

XON

XON/XOFF software handshaking

2

CTS

CTS/RTS hardware handshaking