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

LoRa modulation parameters. More...

Public Member Functions

constexpr bool operator== (const lora_modulation &) const noexcept=default
 Compares two modulation-parameter sets for equality.
 

Public Attributes

spreading_factor sf = spreading_factor::sf7
 Spreading factor.
 
bandwidth bw = bandwidth::bw_125
 Channel bandwidth.
 
coding_rate cr = coding_rate::cr_4_5
 Forward-error-correction coding rate.
 
bool low_data_rate_optimize = false
 Enable low-data-rate optimization (recommended at SF11/SF12 on narrow bandwidths).
 

Detailed Description

LoRa modulation parameters.

Definition at line 132 of file types.hpp.

Member Function Documentation

◆ operator==()

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

Compares two modulation-parameter sets for equality.

Member Data Documentation

◆ bw

bandwidth idfxx::radio::lora_modulation::bw = bandwidth::bw_125

Channel bandwidth.

Definition at line 134 of file types.hpp.

◆ cr

coding_rate idfxx::radio::lora_modulation::cr = coding_rate::cr_4_5

Forward-error-correction coding rate.

Definition at line 135 of file types.hpp.

◆ low_data_rate_optimize

bool idfxx::radio::lora_modulation::low_data_rate_optimize = false

Enable low-data-rate optimization (recommended at SF11/SF12 on narrow bandwidths).

Definition at line 136 of file types.hpp.

◆ sf

spreading_factor idfxx::radio::lora_modulation::sf = spreading_factor::sf7

Spreading factor.

Definition at line 133 of file types.hpp.


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