Zephyr API Documentation  3.3.0
A Scalable Open Source RTOS
3.3.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lora_modem_config Struct Reference

#include <lora.h>

Data Fields

uint32_t frequency
 
enum lora_signal_bandwidth bandwidth
 
enum lora_datarate datarate
 
enum lora_coding_rate coding_rate
 
uint16_t preamble_len
 
int8_t tx_power
 
bool tx
 
bool iq_inverted
 
bool public_network
 

Field Documentation

◆ bandwidth

enum lora_signal_bandwidth lora_modem_config::bandwidth

◆ coding_rate

enum lora_coding_rate lora_modem_config::coding_rate

◆ datarate

enum lora_datarate lora_modem_config::datarate

◆ frequency

uint32_t lora_modem_config::frequency

◆ iq_inverted

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

◆ preamble_len

uint16_t lora_modem_config::preamble_len

◆ public_network

bool lora_modem_config::public_network

Sets the sync-byte to use:

  • false: for using the private network sync-byte
  • true: for using the public network sync-byte The public network sync-byte is only intended for advanced usage. Normally the private network sync-byte should be used for peer to peer communications and the LoRaWAN APIs should be used for interacting with a public network.

◆ tx

bool lora_modem_config::tx

◆ tx_power

int8_t lora_modem_config::tx_power

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