Mbed OS 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. | |
LoRa modem parameters.
Parameters encompassing LoRa modulation.
Definition at line 244 of file LoRaRadio.h.
int8_t power |
Transmit power.
Definition at line 248 of file LoRaRadio.h.
uint32_t bandwidth |
Modulation bandwidth.
Definition at line 253 of file LoRaRadio.h.
uint32_t datarate |
Data rate (SF).
Definition at line 258 of file LoRaRadio.h.
bool low_datarate_optimize |
Turn low data rate optimization on/off.
Definition at line 263 of file LoRaRadio.h.
uint8_t coderate |
Error correction code rate.
Definition at line 268 of file LoRaRadio.h.
uint16_t preamble_len |
Preamble length in symbols.
Definition at line 273 of file LoRaRadio.h.
bool fix_len |
Set to true if the outgoing payload length is fixed.
Definition at line 278 of file LoRaRadio.h.
uint8_t payload_len |
Size of outgoing payload.
Definition at line 283 of file LoRaRadio.h.
bool crc_on |
Turn CRC on/off.
Definition at line 288 of file LoRaRadio.h.
bool freq_hop_on |
Turn frequency hopping on/off.
Definition at line 293 of file LoRaRadio.h.
uint8_t hop_period |
Number of symbols between two frequency hops.
Definition at line 298 of file LoRaRadio.h.
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.
bool rx_continuous |
Turn continuous reception mode (such as in Class C) on/off.
Definition at line 311 of file LoRaRadio.h.
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.
bool public_network |
Change the network mode to Public or Private.
Definition at line 322 of file LoRaRadio.h.