Nmea input command – GLOBALSAT ET-314 GPS Engine Board User Manual

Page 14

Advertising
background image

ET-314AC
High Performance GPS Engine Board

2010/4/1

- 14 -

NMEA Input Command

A). Set Serial Port ID: 100 Set PORTA parameters and protocol
This command message is used to set the protocol (SiRF Binary or NMEA) and/or the

communication parameters (baud rate, data bits, stop bits, and parity). 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 will resumes using the saved parameters.


Table B-1 contains the input values for the following example:
Switch to SiRF binary protocol at 9600,8,N,1

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


Table B-1 Set serial Port Data Format

Name Example

Units

Description

Message ID

$PSRF100

PSRF100 protocol header

Protocal

0

0=SiRF Binary, 1=NMEA

Baud

9600

1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200

DataBits

8

8,7. Note that SiRF protocol is only valid for 8 Data bits

StopBits 1

0,1

Parity

0

0=None, 1=Odd, 2=Even

Checksum *0C

<CR><LF>

End of message termination



Advertising