SMS/GPRS command - getgps
Appearance
SMS/GPRS commands > SMS/GPRS command - 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 |