39: GPS Control
Currently only accessible from Viper devices. Used to interact with the device GPS service. In order to get GPS position data, you must used Position message (15).
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 is on | Status of the GPS, is it on? | bool | |
| 2 | Corrections Enabled | Request and apply correction data to the GPS, such as RTK. Possible values:
| uint8 | |
| 3 | Start Mode | Start mode of the GPS module. Possible values:
| uint8 |
Code
For convenience, the following constants can be used to reference this message type.