LoRa modulation¶
LoRa modulation header definitions.
-
LORA_FREQUENCY_RESOLUTION_DEFAULT
¶ Frequency resolution in Hz.
1
(61.03515625)
Preamble length, same for Tx and Rx
-
LORA_PREAMBLE_LENGTH_DEFAULT
¶ 1
(8U)
-
LORA_SYMBOL_TIMEOUT_DEFAULT
¶ Symbols timeout (s)
1
(10U)
-
LORA_BW_DEFAULT
¶ Set default bandwidth to 125kHz.
1
(LORA_BW_125_KHZ)
-
LORA_SF_DEFAULT
¶ Set default spreading factor to 12.
1
(LORA_SF12)
-
LORA_CR_DEFAULT
¶ Set default coding rate to 8.
1
(LORA_CR_4_8)
-
LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT
¶ Set fixed payload length on.
1
(false)
-
LORA_IQ_INVERTED_DEFAULT
¶ Set inverted IQ on.
1
(false)
-
LORA_FREQUENCY_HOPPING_DEFAULT
¶ Frequency hopping on.
1
(false)
-
LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT
¶ Frequency hopping period.
1
(0U)
-
LORA_FIXED_HEADER_LEN_MODE_DEFAULT
¶ Set fixed header length mode (implicit header)
1
(false)
-
LORA_PAYLOAD_CRC_ON_DEFAULT
¶ Enable payload CRC, optional.
1
(true)
-
LORA_PAYLOAD_LENGTH_DEFAULT
¶ Set payload length, unused with implicit header.
1
(0U)
-
LORA_SYNCWORD_PUBLIC
¶ Syncword used for public networks.
1
(0x34)
-
LORA_SYNCWORD_PRIVATE
¶ Syncword used for private networks.
1
(0x12)
-
enum
@192
¶ - LORA_BW_125_KHZ
= 0
- 125 kHz bandwidth
- LORA_BW_250_KHZ
- 250 kHz bandwidth
- LORA_BW_500_KHZ
- 500 kHz bandwidth
- LORA_BW_125_KHZ
-
enum
@193
¶ - LORA_SF6
= 6
- spreading factor 6
- LORA_SF7
- spreading factor 7
- LORA_SF8
- spreading factor 8
- LORA_SF9
- spreading factor 9
- LORA_SF10
- spreading factor 10
- LORA_SF11
- spreading factor 11
- LORA_SF12
- spreading factor 12
- LORA_SF6
-
enum
@194
¶ - LORA_CR_4_5
= 1
- coding rate 4/5
- LORA_CR_4_6
- coding rate 4/6
- LORA_CR_4_7
- coding rate 4/7
- LORA_CR_4_8
- coding rate 4/8
- LORA_CR_4_5