Jump to content

SMS/GPRS command - getgps: Difference between revisions

From Teltonika Telematics Wiki
Creating page for SMS/GPRS command "getgps".
 
No impact changes
Line 1: Line 1:
[[image:smsgprscommand_getgps.png|300px|right|alt=getgps]]
[[File:smsgprscommand_getgps.png|300px|right|alt=getgps]]
{{Template:SMSGPRScommandPage
{{Template:SMSGPRScommandPage
|description=Returns information string regarding GNSS.}}
|description=Returns information string regarding GNSS.}}

Revision as of 09:23, 16 January 2026

SMS/GPRS commands > SMS/GPRS command - getgps
getgps

Description

Returns information string regarding GNSS.

Syntax:

getgps

Arguments:
This command has no arguments.
Examples:

REQUEST OUTCOME RESPONSE
getgps Success GPS:1 Sat:10 LAT:9.9839 LON:9.9839 ALT:9.9839 Speed:10 Dir:10 Date:2023-04-03 Time:12:32:06
getgps Fail WARNING! GPS Data not Available. Clock not Synchronized

Response explanation:

RESPONSE ELEMENT DESCRIPTION EXAMPLE
GPS 0 - invalid GPS data
1 - valid GPS data
GPS:1
Sat Count of currently available satellites Sat:10
LAT Latitude (Last good Latitude) LAT:9.9839
LON Longitude (Last good Longitude) LON:9.9839
ALT Altitude ALT:9.9839
Speed Ground speed, km/h Speed:10
Dir Ground direction, degrees Dir:10
Date Current date Date:2023-04-03
Time Current GMT time Time:12:32:06