Jump to content

SMS/GPRS command - getgps: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
Added link to ggps.
 
Line 1: Line 1:
[[File: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.<br>See also [[SMS/GPRS command - ggps]].}}
===Syntax===
===Syntax===
  getgps
  getgps

Latest revision as of 12:42, 16 January 2026

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

Description

Returns information string regarding GNSS.
See also SMS/GPRS command - ggps.

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