SMS/GPRS command - getgps: Difference between revisions
Appearance
No impact changes |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Template:SMSGPRScommandPage | {{Template:SMSGPRScommandPage | ||
|description=Returns information string regarding GNSS.}} | |description=Returns information string regarding GNSS.}} | ||
===Syntax=== | |||
getgps | getgps | ||
===Arguments=== | |||
This command has no arguments. | This command has no arguments. | ||
===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=== | |||
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;"> | <table class="nd-othertables_2" style="width:100%; border-collapse: collapse;"> | ||
<tr> | <tr> | ||
Revision as of 09:47, 16 January 2026
SMS/GPRS commands > SMS/GPRS command - 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 |