Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Structure containing the configuration of a LoRa modem. More...
#include <lora.h>
Data Fields | |
uint32_t | frequency |
Frequency in Hz to use for transceiving. | |
enum lora_signal_bandwidth | bandwidth |
The bandwidth to use for transceiving. | |
enum lora_datarate | datarate |
The data-rate to use for transceiving. | |
enum lora_coding_rate | coding_rate |
The coding rate to use for transceiving. | |
uint16_t | preamble_len |
Length of the preamble. | |
int8_t | tx_power |
TX-power in dBm to use for transmission. | |
bool | tx |
Set to true for transmission, false for receiving. | |
bool | iq_inverted |
Invert the In-Phase and Quadrature (IQ) signals. | |
bool | public_network |
Sets the sync-byte to use: | |
Structure containing the configuration of a LoRa modem.
enum lora_signal_bandwidth lora_modem_config::bandwidth |
The bandwidth to use for transceiving.
enum lora_coding_rate lora_modem_config::coding_rate |
The coding rate to use for transceiving.
enum lora_datarate lora_modem_config::datarate |
The data-rate to use for transceiving.
uint32_t lora_modem_config::frequency |
Frequency in Hz to use for transceiving.
bool lora_modem_config::iq_inverted |
Invert the In-Phase and Quadrature (IQ) signals.
Normally this should be set to false. In advanced use-cases where a differentation is needed between "uplink" and "downlink" traffic, the IQ can be inverted to create two different channels on the same frequency
uint16_t lora_modem_config::preamble_len |
Length of the preamble.
bool lora_modem_config::public_network |
Sets the sync-byte to use:
bool lora_modem_config::tx |
Set to true for transmission, false for receiving.
int8_t lora_modem_config::tx_power |
TX-power in dBm to use for transmission.