IDP 100 Modem Series - Developer Guide
T203, Version 04 48
©
SkyWave Proprietary
5.6.4 %GPS
– Get GPS Information
Description
This command requests NMEA sentence(s). If GPS information no older than
<staleSecs>
is available, the response is immediate. Otherwise, the response can
take up to
<waitSecs>
.
Syntax
%GPS=<staleSecs>,<waitSecs>[,”GGA”][,”RMC”]
Parameters
<staleSecs>
Age threshold of GPS fix (range 1…600)
<waitSecs>
Duration to wait for new GPS fix (when a GPS fix no older than
staleSecs
is unavailable) (range 1…600)
"GGA"
Request GGA NMEA sentence
"RMC"
Request RMC NMEA sentence
Note:
"GGA" and/or "RMC" must be specified.
Information Response Syntax
%GPS: <GGA NMEA Sentence (if requested)>
<RMC NMEA Sentence (if requested)>
Example
%GPS: $GPGGA,182008.00,4520.2015,N,07554.2787,W,1,,,80.8,M,,,*10
$GPRMC,182008.00,A,4520.2015,N,07554.2787,W,000.019,357.43,041110,*39
Result Codes
OK
GPS information was obtained
ERROR
GPS information within age limit of
<staleSecs>
is unavailable and fresh
GPS information not obtained within
<waitSecs>
, parameter out of range,
or syntax error
No information response exists when result code is ERROR.
Summary of Contents for IDP 100 Series
Page 106: ...www SkyWave com ...