idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::radio::lora_packet_params Struct Reference

LoRa packet framing parameters. More...

Public Member Functions

constexpr bool operator== (const lora_packet_params &) const noexcept=default
 Compares two packet-framing-parameter sets for equality.
 

Public Attributes

uint16_t preamble_length = 8
 Preamble length in symbols.
 
header_type header = header_type::variable
 Header mode (variable or fixed).
 
uint8_t payload_length = 0xFF
 Payload length, used only in fixed-header mode.
 
bool crc_on = true
 Enable CRC.
 
bool invert_iq = false
 Invert I/Q (for downlink / gateway use).
 

Detailed Description

LoRa packet framing parameters.

Definition at line 149 of file types.hpp.

Member Function Documentation

◆ operator==()

constexpr bool idfxx::radio::lora_packet_params::operator== ( const lora_packet_params ) const
constexprdefaultnoexcept

Compares two packet-framing-parameter sets for equality.

Member Data Documentation

◆ crc_on

bool idfxx::radio::lora_packet_params::crc_on = true

Enable CRC.

Definition at line 153 of file types.hpp.

◆ header

header_type idfxx::radio::lora_packet_params::header = header_type::variable

Header mode (variable or fixed).

Definition at line 151 of file types.hpp.

◆ invert_iq

bool idfxx::radio::lora_packet_params::invert_iq = false

Invert I/Q (for downlink / gateway use).

Definition at line 154 of file types.hpp.

◆ payload_length

uint8_t idfxx::radio::lora_packet_params::payload_length = 0xFF

Payload length, used only in fixed-header mode.

Definition at line 152 of file types.hpp.

◆ preamble_length

uint16_t idfxx::radio::lora_packet_params::preamble_length = 8

Preamble length in symbols.

Definition at line 150 of file types.hpp.

Referenced by idfxx::radio::lora_transceiver::rx_duty_cycle_for().


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