beautypg.com

Linx Technologies RXM-GPS-SR User Manual

Page 8

background image

Page 15

Page 14

100 – SetSerialPort

This command message is used to set the protocol (SiRF binary or NMEA)
and/or the communication parameters (baud rate). Generally, this command is
used to switch the module back to SiRF binary protocol mode where a more
extensive command message set is available. When a valid message is
received, the parameters are stored in battery-backed SRAM and the receiver
restarts using the saved parameters.

The table below contains the values for the following example:

Switch to SiRF binary protocol at 9600,8,N,1

$PSRF100,0,9600,8,1,0*0C

1. SiRF protocol is only valid for 8 data bits, 1 stop bit, and no parity.
2. Default settings are NMEA protocol using 9,600 baud, 8 data bits, 1 stop bit, and no parity.

For details on the SiRF binary protocol, please refer to SiRF’s Binary Protocol
Reference Manual.

Name

Example

Description

Message ID $PSRF100

PSRF100 protocol header

Protocol

0

0=SiRF binary, 1=NMEA

Baud

9600

4800, 9600, 19200, 38400, 57600

DataBits

8

8

1

StopBits

1

1

1

Parity

0

0=None

1

Checksum

*0C

End of message termination

Table 12: SetSerialPort Example

2

101 – NavigationInitialization

This command was used to initialize the receiver with the current position (in X,
Y, Z coordinates), clock offset, and time, enabling a faster fix. Increased receiver
sensitivity and the removal of Selective Availability (SA) have made this
unneccessary. The command is retained for its ability to reset the module, but
the initialization fields are no longer supported.

The table below contains the values for the following example:

$PSRF101,0,0,0,96000,0,0,12,4*1F

Name

Example

Units

Description

Message ID

$PSRF101

PSRF101 protocol header

ECEF X

0

ECEF Y

0

ECEF Z

0

ClkOffset

96000

TimeOfWeek

0

WeekNo

0

ChannelCount

12

ResetCfg

4

See Table 15

Checksum

*1F

End of message termination

Hex

Description

0x01

Hot Start – All data valid

0x02

Warm Start – Ephemeris cleared

0x04

Cold Start – Clears all data in memory

0x08

Clear Memory – Clears all data in memory and resets the receiver back
to factory defaults

Table 13: NavigationInitialization Example

Table 14: ResetCfg Values