1005: LoRa Config
Persistent LoRa radio configuration API. SET updates one config slot (partial update allowed). GET returns one slot (defaults to slot 0 if omitted). Introduced in FW 2578+
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 | Config Slot | uint8 | ||
| 2 | Spread Factor | 7..12 | uint8 | |
| 3 | Coding Rate | 1..4 maps to 4/5,4/6,4/7,4/8 | uint8 | |
| 4 | Bandwidth | 0..2 maps to 125/250/500kHz | uint8 | |
| 5 | Center Frequency | 860000000..950000000 | uint32 | hz |
| 6 | TX Power | 0..22 | uint8 | |
| 7 | Preamble Length | 4..128 | uint8 | |
| 8 | CRC On | bool | ||
| 9 | IQ Inverted | bool | ||
| 10 | Fixed Length | bool | ||
| 11 | Payload Length | 0..64 | uint8 | |
| 12 | Max Payload Length | 1..64 | uint8 | |
| 13 | Symbol Timeout | uint16 | ||
| 14 | Public Network | bool |
Code
For convenience, the following constants can be used to reference this message type.