Jump to content

SMS/GPRS command - getgps: Difference between revisions

From Teltonika Telematics Wiki
No impact changes
Added link to ggps.
 
(One intermediate revision by the same user not shown)
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
'''Arguments:'''
===Arguments===
<br>
This command has no arguments.
This command has no arguments.
<br>
===Examples===
'''Examples:'''
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<tr>
Line 26: Line 24:
</tr>
</tr>
</table>
</table>
'''Response explanation:'''
===Response Explanation===
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<tr>

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