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

Complete LoRa link configuration. More...

Public Member Functions

constexpr bool operator== (const lora_link &) const noexcept=default
 Compares two link configurations for equality.
 

Public Attributes

freq::hertz frequency {0}
 RF carrier frequency (required; no meaningful default).
 
electro::dbm output_power {14}
 Transmit output power.
 
ramp_time ramp = ramp_time::us_200
 Output-power ramp-up time.
 
lora_modulation modulation {}
 Modulation parameters.
 
lora_packet_params packet_params {}
 Packet framing parameters.
 
lora_network network = lora_network::public_network
 Network (sync word) selection.
 

Detailed Description

Complete LoRa link configuration.

Bundles the settings both ends of a link must agree on — frequency, modulation, packet framing, and network — plus this end's transmit power, so they can be applied with a single lora_transceiver::configure call.

Definition at line 170 of file types.hpp.

Member Function Documentation

◆ operator==()

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

Compares two link configurations for equality.

Member Data Documentation

◆ frequency

freq::hertz idfxx::radio::lora_link::frequency {0}

RF carrier frequency (required; no meaningful default).

Definition at line 171 of file types.hpp.

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

◆ modulation

lora_modulation idfxx::radio::lora_link::modulation {}

Modulation parameters.

Definition at line 174 of file types.hpp.

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

◆ network

lora_network idfxx::radio::lora_link::network = lora_network::public_network

Network (sync word) selection.

Definition at line 176 of file types.hpp.

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

◆ output_power

electro::dbm idfxx::radio::lora_link::output_power {14}

Transmit output power.

Definition at line 172 of file types.hpp.

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

◆ packet_params

lora_packet_params idfxx::radio::lora_link::packet_params {}

Packet framing parameters.

Definition at line 175 of file types.hpp.

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

◆ ramp

ramp_time idfxx::radio::lora_link::ramp = ramp_time::us_200

Output-power ramp-up time.

Definition at line 173 of file types.hpp.

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


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