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

SX126x-specific channel-activity-detection parameters. More...

Public Member Functions

constexpr bool operator== (const cad_params &) const noexcept=default
 Compares two CAD parameter sets for equality.
 

Public Attributes

cad_symbols symbols = cad_symbols::sym_2
 Number of symbols CAD listens on.
 
uint8_t det_peak = 22
 Detector peak threshold.
 
uint8_t det_min = 10
 Detector minimum threshold.
 

Detailed Description

SX126x-specific channel-activity-detection parameters.

lora_transceiver::try_start_channel_scan and lora_transceiver::try_scan_channel scan with driver defaults (symbols = cad_symbols::sym_2, det_peak = 22, det_min = 10). Use try_set_cad_params or set_cad_params to tune.

Definition at line 175 of file sx126x.hpp.

Member Function Documentation

◆ operator==()

constexpr bool idfxx::radio::sx126x::cad_params::operator== ( const cad_params ) const
constexprdefaultnoexcept

Compares two CAD parameter sets for equality.

Member Data Documentation

◆ det_min

uint8_t idfxx::radio::sx126x::cad_params::det_min = 10

Detector minimum threshold.

Definition at line 178 of file sx126x.hpp.

◆ det_peak

uint8_t idfxx::radio::sx126x::cad_params::det_peak = 22

Detector peak threshold.

Definition at line 177 of file sx126x.hpp.

◆ symbols

cad_symbols idfxx::radio::sx126x::cad_params::symbols = cad_symbols::sym_2

Number of symbols CAD listens on.

Definition at line 176 of file sx126x.hpp.


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