Mbed OS Reference
Loading...
Searching...
No Matches
radio_lora_settings Struct Reference

LoRa modem parameters. More...

#include <LoRaRadio.h>

Data Fields

int8_t power
 Transmit power.
 
uint32_t bandwidth
 Modulation bandwidth.
 
uint32_t datarate
 Data rate (SF).
 
bool low_datarate_optimize
 Turn low data rate optimization on/off.
 
uint8_t coderate
 Error correction code rate.
 
uint16_t preamble_len
 Preamble length in symbols.
 
bool fix_len
 Set to true if the outgoing payload length is fixed.
 
uint8_t payload_len
 Size of outgoing payload.
 
bool crc_on
 Turn CRC on/off.
 
bool freq_hop_on
 Turn frequency hopping on/off.
 
uint8_t hop_period
 Number of symbols between two frequency hops.
 
bool iq_inverted
 Turn IQ inversion on/off.
 
bool rx_continuous
 Turn continuous reception mode (such as in Class C) on/off.
 
uint32_t tx_timeout
 Timeout in milliseconds (ms) after which the radio driver reports an error if the radio was unable to transmit.
 
bool public_network
 Change the network mode to Public or Private.
 

Detailed Description

LoRa modem parameters.

Parameters encompassing LoRa modulation.

Definition at line 244 of file LoRaRadio.h.

Field Documentation

◆ power

int8_t power

Transmit power.

Definition at line 248 of file LoRaRadio.h.

◆ bandwidth

uint32_t bandwidth

Modulation bandwidth.

Definition at line 253 of file LoRaRadio.h.

◆ datarate

uint32_t datarate

Data rate (SF).

Definition at line 258 of file LoRaRadio.h.

◆ low_datarate_optimize

bool low_datarate_optimize

Turn low data rate optimization on/off.

Definition at line 263 of file LoRaRadio.h.

◆ coderate

uint8_t coderate

Error correction code rate.

Definition at line 268 of file LoRaRadio.h.

◆ preamble_len

uint16_t preamble_len

Preamble length in symbols.

Definition at line 273 of file LoRaRadio.h.

◆ fix_len

bool fix_len

Set to true if the outgoing payload length is fixed.

Definition at line 278 of file LoRaRadio.h.

◆ payload_len

uint8_t payload_len

Size of outgoing payload.

Definition at line 283 of file LoRaRadio.h.

◆ crc_on

bool crc_on

Turn CRC on/off.

Definition at line 288 of file LoRaRadio.h.

◆ freq_hop_on

bool freq_hop_on

Turn frequency hopping on/off.

Definition at line 293 of file LoRaRadio.h.

◆ hop_period

uint8_t hop_period

Number of symbols between two frequency hops.

Definition at line 298 of file LoRaRadio.h.

◆ iq_inverted

bool iq_inverted

Turn IQ inversion on/off.

Usually, the end device sends an IQ inverted signal, and the base stations do not invert. We recommended sending an IQ inverted signal from the device side, so any transmissions from the base stations do not interfere with end device transmission.

Definition at line 306 of file LoRaRadio.h.

◆ rx_continuous

bool rx_continuous

Turn continuous reception mode (such as in Class C) on/off.

Definition at line 311 of file LoRaRadio.h.

◆ tx_timeout

uint32_t tx_timeout

Timeout in milliseconds (ms) after which the radio driver reports an error if the radio was unable to transmit.

Definition at line 317 of file LoRaRadio.h.

◆ public_network

bool public_network

Change the network mode to Public or Private.

Definition at line 322 of file LoRaRadio.h.