Query Commands - ashtech GG Surveyor Reference Manual

Gps/glonass receiver
Table of Contents

Advertisement

Example: Enable GGA message on port A

Query Commands

While the set commands will continuously output response messages at a set interval,
the query command will output a single response message. The general structure of
the NMEA query commands is:
where str is one of the 3 character NMEA strings and x is the optional output serial
port. The serial port field is optional. If a port is not specified, the receiver sends the
response to the current port.
Example: Query POS message and send the response to port D
Response message
The response message is the information sent back from the receiver in response to a
set or query command.
The generic NMEA response message format is:
where Table 6.41 outlines the response format:
Data items are separated by commas; successive commas indicate data not available.
For example, two successive commas indicate one missing data item, while three
successive commas indicate two missing items.
130
$PASHS,NME,GGA,A,ON <Enter>
Output enabled NMEA messages every 5 seconds
$PASHS,NME,PER,5 <Enter>
$PASHQ,str,x, <Enter>
$PASHQ,POS,D <Enter>
Query GSA message and send the response to the current port.
$PASHQ,GSA <Enter>
$<header><data items> *cc
Table 6.41: NMEA Response Structure
Field
$
NMEA message start character
<header>
standard response message header
<data items>
data field dependent upon header
*cc
checksum
Description
GG Surveyor GPS+GLONASS Reference Manual

Advertisement

Table of Contents
loading

Table of Contents