Skip to content

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+

FieldNameDescriptionType
5MethodRequest a service to be perform an action
Possible values:
  • 1: SET— Set one or more values that are provided in the message payload.
  • 2: GET— Get values for the associated message type.
  • 3: SUBSCRIBE— Subscribe to values for the associated message type. Can be used in conjunction with other header fields to define the subscription parameters, such as Interval, Duration, Timeout, Storage Level and Message Level. If no interval is provided, messages will be sent as and when new data is available. Some data, such as GPS position, may require a set interval to be provided.
  • 5: UNSUBSCRIBE— Unsubscribe from a previous subscription.
uint8
This is an extract of header fields that are relevant to this message type, you can find them all documented in the Headers section.

Payload

FieldNameDescriptionTypeUnit
1Config Slotuint8
2Spread Factor7..12uint8
3Coding Rate1..4 maps to 4/5,4/6,4/7,4/8uint8
4Bandwidth0..2 maps to 125/250/500kHzuint8
5Center Frequency860000000..950000000uint32hz
6TX Power0..22uint8
7Preamble Length4..128uint8
8CRC Onbool
9IQ Invertedbool
10Fixed Lengthbool
11Payload Length0..64uint8
12Max Payload Length1..64uint8
13Symbol Timeoutuint16
14Public Networkbool

Code

For convenience, the following constants can be used to reference this message type.