1004: LORA โ
๐งช Alpha
LORA interactions are currently in an experimental phase, and the API may change in future, and documentation may be incomplete.
Interaction with LORA. Used to interact with LORA on the device.
Header โ
| Field | Name | Description | Type |
|---|---|---|---|
| 5 | Method | Request a service to be perform an action Possible values:
| uint8 |
Payload โ
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 2 | Payload | bytes | ||
| 4 | Spread Factor | 8-12 | uint8 | |
| 5 | Coding Rate | 1-4. [1: 4/5, 2: 4/6, 3: 4/7, 4: 4/8] | uint8 | |
| 6 | Bandwidth | 0-2. [0: 125 kHz, 1: 250 kHz, 2: 500 kHz] | uint8 | |
| 7 | Center Frequency | 860000000-925000000. value in hz | uint32 | |
| 8 | TX Power | 0-22 | uint8 | |
| 9 | Preamble Length | 4-128 | uint8 | |
| 10 | Receive Ms | How long to listen for after a transmit, in ms | uint32 | |
| 11 | Sleep | True will tell the LORA to stop all activity now | bool | |
| 12 | State | uint |
Code โ
For convenience, the following constants can be used to reference this message type.