ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::sx126x::RadioProfile Struct Reference

#include <radio_profile.h>

Public Member Functions

void set_sync_value (std::span< const uint8_t > bytes)
 
size_t max_packet_size () const
 

Data Fields

uint32_t bitrate {0}
 
uint32_t deviation {0}
 
uint32_t frequency {0}
 
uint32_t tcxo_delay {0}
 
uint16_t crc_polynomial {0}
 
uint16_t crc_initial {0}
 
uint16_t whitening_initial {0}
 
uint16_t preamble_detect {0}
 
uint16_t preamble_size {0}
 
SX126xBw bandwidth {SX126X_BW_125000}
 
uint8_t crc_size {0}
 
uint8_t tcxo_voltage {0}
 
uint8_t coding_rate {0}
 
uint8_t modulation {PACKET_TYPE_LORA}
 
uint8_t pa_ramp {0}
 
uint8_t shaping {0}
 
uint8_t spreading_factor {0}
 
int8_t pa_power {0}
 
uint8_t payload_length {0}
 
bool sx1261 {false}
 
bool crc_enable {false}
 
bool crc_inverted {false}
 
bool whitening_enable {false}
 
bool rx_start {false}
 
bool rf_switch {false}
 
std::array< uint8_t, 8 > sync_value {}
 
uint8_t sync_size {0}
 
bool sync_valid {true}
 

Detailed Description

Definition at line 46 of file radio_profile.h.

Member Function Documentation

◆ max_packet_size()

size_t esphome::sx126x::RadioProfile::max_packet_size ( ) const
inline

Definition at line 83 of file radio_profile.h.

◆ set_sync_value()

void esphome::sx126x::RadioProfile::set_sync_value ( std::span< const uint8_t > bytes)
inline

Definition at line 75 of file radio_profile.h.

Field Documentation

◆ bandwidth

SX126xBw esphome::sx126x::RadioProfile::bandwidth {SX126X_BW_125000}

Definition at line 56 of file radio_profile.h.

◆ bitrate

uint32_t esphome::sx126x::RadioProfile::bitrate {0}

Definition at line 47 of file radio_profile.h.

◆ coding_rate

uint8_t esphome::sx126x::RadioProfile::coding_rate {0}

Definition at line 59 of file radio_profile.h.

◆ crc_enable

bool esphome::sx126x::RadioProfile::crc_enable {false}

Definition at line 67 of file radio_profile.h.

◆ crc_initial

uint16_t esphome::sx126x::RadioProfile::crc_initial {0}

Definition at line 52 of file radio_profile.h.

◆ crc_inverted

bool esphome::sx126x::RadioProfile::crc_inverted {false}

Definition at line 68 of file radio_profile.h.

◆ crc_polynomial

uint16_t esphome::sx126x::RadioProfile::crc_polynomial {0}

Definition at line 51 of file radio_profile.h.

◆ crc_size

uint8_t esphome::sx126x::RadioProfile::crc_size {0}

Definition at line 57 of file radio_profile.h.

◆ deviation

uint32_t esphome::sx126x::RadioProfile::deviation {0}

Definition at line 48 of file radio_profile.h.

◆ frequency

uint32_t esphome::sx126x::RadioProfile::frequency {0}

Definition at line 49 of file radio_profile.h.

◆ modulation

uint8_t esphome::sx126x::RadioProfile::modulation {PACKET_TYPE_LORA}

Definition at line 60 of file radio_profile.h.

◆ pa_power

int8_t esphome::sx126x::RadioProfile::pa_power {0}

Definition at line 64 of file radio_profile.h.

◆ pa_ramp

uint8_t esphome::sx126x::RadioProfile::pa_ramp {0}

Definition at line 61 of file radio_profile.h.

◆ payload_length

uint8_t esphome::sx126x::RadioProfile::payload_length {0}

Definition at line 65 of file radio_profile.h.

◆ preamble_detect

uint16_t esphome::sx126x::RadioProfile::preamble_detect {0}

Definition at line 54 of file radio_profile.h.

◆ preamble_size

uint16_t esphome::sx126x::RadioProfile::preamble_size {0}

Definition at line 55 of file radio_profile.h.

◆ rf_switch

bool esphome::sx126x::RadioProfile::rf_switch {false}

Definition at line 71 of file radio_profile.h.

◆ rx_start

bool esphome::sx126x::RadioProfile::rx_start {false}

Definition at line 70 of file radio_profile.h.

◆ shaping

uint8_t esphome::sx126x::RadioProfile::shaping {0}

Definition at line 62 of file radio_profile.h.

◆ spreading_factor

uint8_t esphome::sx126x::RadioProfile::spreading_factor {0}

Definition at line 63 of file radio_profile.h.

◆ sx1261

bool esphome::sx126x::RadioProfile::sx1261 {false}

Definition at line 66 of file radio_profile.h.

◆ sync_size

uint8_t esphome::sx126x::RadioProfile::sync_size {0}

Definition at line 73 of file radio_profile.h.

◆ sync_valid

bool esphome::sx126x::RadioProfile::sync_valid {true}

Definition at line 74 of file radio_profile.h.

◆ sync_value

std::array<uint8_t, 8> esphome::sx126x::RadioProfile::sync_value {}

Definition at line 72 of file radio_profile.h.

◆ tcxo_delay

uint32_t esphome::sx126x::RadioProfile::tcxo_delay {0}

Definition at line 50 of file radio_profile.h.

◆ tcxo_voltage

uint8_t esphome::sx126x::RadioProfile::tcxo_voltage {0}

Definition at line 58 of file radio_profile.h.

◆ whitening_enable

bool esphome::sx126x::RadioProfile::whitening_enable {false}

Definition at line 69 of file radio_profile.h.

◆ whitening_initial

uint16_t esphome::sx126x::RadioProfile::whitening_initial {0}

Definition at line 53 of file radio_profile.h.


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