14: Config โ
๐งช Alpha
Config interactions are currently in an experimental phase, and the API may change in future, and documentation may be incomplete.
Configuration storage and maintenance message. GET behaviour: - If Key (data field 7 / `key`) is omitted, the response returns a config summary payload (data field 5 / `summary16`). - If Key is provided, the response returns the value for that specific key in Payload (data field 9).
Payload โ
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 3 | Command | Possible values:
| uint | |
| 4 | Summary of uint8 keys | A table of uint8 keys known, with the crc8 of the value. eg: 123, 45, 124, 67 means key 123 has a value with crc8 of 45, and key 124 has a value with crc8 of 67. May be sent, with the expectation of receiving config messages with the listed keys and values that need changing | uint8[] | |
| 5 | Summary of uint16 keys | A table of uint16 keys known, with the crc8 of the value. eg: 123, 0, 45, means key 123 has a value with crc8 of 45. May be sent, with the expectation of receiving config messages with the listed keys and values that need changing | bytes | |
| 7 | Key | Config key identifier. Required for SET. Optional for GET: when omitted, GET returns a key summary instead of an individual key value. Possible values:
| uint16 | |
| 9 | Payload | Payload for the config. Setting a key to a 0 length value may be used to clear the config value for that key. | bytes |
Examples โ
Set ArmingMode - keep modem on and GPS on (highest power, fastest reconnect)
Sets ArmingMode (key 50) to 0x84 (bits 2+7): keep GPS on in standby and keep modem connection open. Flipping to active requires a command to toggle armed state. GPS stays on but RTK only connects when actively armed. Protocol
3
3
Length
210
21 bytes
Type
140
14 (Config)
Header Count
10
1
Header Types
5
5
Method
11
1 (SET)
Payload Count
20
2
Payload Types
79
7, 9
Key
2500
50 (Arming Mode)
Payload
1132
132
Checksum
10199
25445
Set ArmingMode - keep modem on, GPS on, wake on move
Sets ArmingMode (key 50) to 0x85 (bits 0+2+7): keep GPS on, keep modem on, and automatically wake when moving. Protocol
3
3
Length
210
21 bytes
Type
140
14 (Config)
Header Count
10
1
Header Types
5
5
Method
11
1 (SET)
Payload Count
20
2
Payload Types
79
7, 9
Key
2500
50 (Arming Mode)
Payload
1133
133
Checksum
68115
29508
Set ArmingMode - low power (GPS off until moved, modem stays on)
Sets ArmingMode (key 50) to 0x81 (bits 0+7): GPS turns on only when moving, modem stays connected. Lower power than above as GPS is off at rest. Protocol
3
3
Length
210
21 bytes
Type
140
14 (Config)
Header Count
10
1
Header Types
5
5
Method
11
1 (SET)
Payload Count
20
2
Payload Types
79
7, 9
Key
2500
50 (Arming Mode)
Payload
1129
129
Checksum
19251
13248
Set Menu Config - disable default menu
Sets Menu Config (key 35) to 1: disables the default device menu and shows only "Menu disabled by admin". Protocol
3
3
Length
220
22 bytes
Type
140
14 (Config)
Header Count
10
1
Header Types
5
5
Method
11
1 (SET)
Payload Count
20
2
Payload Types
79
7, 9
Key
2350
35 (Menu Config)
Payload
210
1,0
Checksum
24388
22771
Code โ
For convenience, the following constants can be used to reference this message type.