GP Report
GP Report (G-Q-R)
General Position - Position message that includes date, time, latitude, longitude, speed, heading, GPS status, ignition (IGN), digital inputs (IN) and outputs (XP).
Generate report
GGPbbc[;@dd..dd]See G Command for parameter details.
Query current position
QGPResponse
RGPAAAAAABBBBBBCCCCCCCCDDDDDDDDDEEEFFFGHHIIJJKK[;LLLL]Field structure
| Field | Length | Description |
|---|---|---|
| AAAAAA | 6 | Date (RTC) - DDMMAA format |
| BBBBBB | 6 | Time (RTC) - HHMMSS format |
| CCCCCCCC | 8 | Latitude (±DDMMMMM) |
| DDDDDDDDD | 9 | Longitude (±DDDMMMMM) |
| EEE | 3 | Speed (km/h) |
| FFF | 3 | Heading (degrees 000-359) |
| G | 1 | GPS Fix Mode: 2=2D FIX, 3=3D FIX |
| HH | 2 | Seconds since last valid position (hex) |
| II | 2 | Digital inputs status IGN+IN (hex) |
| JJ | 2 | Report number (00-FF) |
| KK | 2 | PDOP (decimal integer part) |
| LLLL | 4 | Message number (hex) - only in buffer download |
Field interpretation
Digital inputs (II)
The II byte contains the status of IGN and IN inputs in hexadecimal format:
| Bit | 7 (MSB) | 6 | 5 | 4 | 3 | 2 | 1 | 0 (LSB) |
|---|---|---|---|---|---|---|---|---|
| Signal | IGN | IN6 | IN5 | IN4 | IN3 | IN2 | IN1 | IN0 |
Example: II = 81 (hex) = 10000001 (bin) → IGN=1, IN0=1, rest=0
Coordinates
- Latitude: Format ±DDMMMMM (degrees + minutes×1000)
- Longitude: Format ±DDDMMMMM (degrees + minutes×1000)
- Sign
+= North/East, Sign-= South/West
Report example
>RGP291224153045-2778467-064256580451800302810012;#0001;ID=974862;*5E<| Field | Value | Interpretation |
|---|---|---|
| Date | 291224 | 29/12/2024 |
| Time | 153045 | 15:30:45 |
| Latitude | -2778467 | 27°78.467’S = -27.80778° |
| Longitude | -06425658 | 64°25.658’W = -64.42763° |
| Speed | 045 | 45 km/h |
| Heading | 180 | 180° (South) |
| Fix Mode | 3 | 3D FIX |
| GPS Age | 02 | 2 seconds |
| Inputs | 81 | IGN=1, IN0=1 |
| Report No | 00 | Report 00 |
| PDOP | 12 | PDOP = 1.2 |
| Message No | 0001 | Message #1 |
Behavior without GPS
In the absence of GPS signal, the date (AAAAAA) and time (BBBBBB) fields will take the value from the moment of message generation from the real-time clock (RTC), instead of GPS position data.
Message number (LLLL)
This field is added only to GP messages that are downloaded from the device’s report buffer. It allows identifying the order of reports in the queue.
Compatibility
MTLegacy
C3Legacy
ULLegacy
SPLegacy
C5Legacy
ZE-IoT
SP-IoT
SM-IoT
Last updated