ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
protocore_lora_config Struct Reference

Radio configuration applied by protocore_lora_init(). More...

#include <lora.h>

Public Attributes

uint32_t freq_hz
 carrier frequency in Hz (e.g. 868100000 / 915000000).
 
uint8_t spreading
 spreading factor 6..12 (SF7 default is a good start).
 
uint8_t bandwidth
 bandwidth code 0..9 (7 = 125 kHz - the common default).
 
uint8_t coding_rate
 coding rate 1..4 (1 = 4/5).
 
uint8_t sync_word
 0x12 private / 0x34 LoRaWAN.
 
uint8_t tx_power
 PA_BOOST power 2..17 dBm.
 

Detailed Description

Radio configuration applied by protocore_lora_init().

Definition at line 69 of file lora.h.

Member Data Documentation

◆ freq_hz

uint32_t protocore_lora_config::freq_hz

carrier frequency in Hz (e.g. 868100000 / 915000000).

Definition at line 71 of file lora.h.

◆ spreading

uint8_t protocore_lora_config::spreading

spreading factor 6..12 (SF7 default is a good start).

Definition at line 72 of file lora.h.

◆ bandwidth

uint8_t protocore_lora_config::bandwidth

bandwidth code 0..9 (7 = 125 kHz - the common default).

Definition at line 73 of file lora.h.

◆ coding_rate

uint8_t protocore_lora_config::coding_rate

coding rate 1..4 (1 = 4/5).

Definition at line 74 of file lora.h.

◆ sync_word

uint8_t protocore_lora_config::sync_word

0x12 private / 0x34 LoRaWAN.

Definition at line 75 of file lora.h.

◆ tx_power

uint8_t protocore_lora_config::tx_power

PA_BOOST power 2..17 dBm.

Definition at line 76 of file lora.h.


The documentation for this struct was generated from the following file: