61: GPS Diagnostics
Runtime GPS-module and RTCM diagnostic state. GET returns NotSupported when GPS diagnostics are unavailable on the device. RTCM fields 10-12 are omitted when RTK is disabled. Omitted fields are not zero readings.
Header
| Field | Name | Description | Type |
|---|---|---|---|
| 5 | Method | Request a service to be perform an action Possible values:
| uint8 |
Payload
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 1 | GPS Module State | Possible values:
| uint8 | |
| 2 | GPS Locked | Whether the GPS module is currently locked in | bool | |
| 10 | RTCM Last Received Age | Time since RTCM correction data was last received; zero also indicates that no RTCM data has been received | uint32 | ms |
| 11 | RTCM Receive Count | Number of RTCM messages received since boot | uint32 | |
| 12 | RTCM Remote Age | Moving-average lag between received RTCM data and the receiver epoch; zero indicates no measurement | uint32 | ms |
Code
For convenience, the following constants can be used to reference this message type.