|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
All runtime tunable parameters for pairing and radio diagnostics. More...
#include <tuning_config.h>
Public Attributes | |
| SX1262RxBandwidth | sx1262_rx_bandwidth {SX1262RxBandwidth::BW_117_3_KHZ} |
| SX1262 RX bandwidth selector. | |
| uint16_t | sx1262_response_preamble {SX1262_RESPONSE_PREAMBLE} |
| SX1262 response preamble in bytes. | |
| uint16_t | sx1262_post_tx_settle_us {SX1262_POST_TX_SETTLE_US} |
| Delay after SX1262 TX before RX (µs). | |
| SX1276RxBandwidth | sx1276_rx_bandwidth {SX1276RxBandwidth::BW_41_7_KHZ} |
| SX1276 RX bandwidth selector. | |
| uint16_t | sx1276_response_preamble {SX1276_RESPONSE_PREAMBLE} |
| SX1276 response preamble in bytes. | |
| uint16_t | sx1276_discovery_hop_slice_ms |
| Per-channel dwell while SX1276 discovery hops. | |
| uint16_t | sx1262_discovery_hop_slice_ms |
| Per-channel dwell while SX1262 discovery hops. | |
| LR1121RxBandwidth | lr1121_rx_bandwidth {LR1121RxBandwidth::BW_117_3_KHZ} |
| LR1121 RX bandwidth selector. | |
| uint16_t | lr1121_response_preamble {LR1121_RESPONSE_PREAMBLE} |
| LR1121 response preamble in bytes. | |
| uint16_t | lr1121_post_tx_settle_us {LR1121_POST_TX_SETTLE_US} |
| Delay after LR1121 TX before RX (µs). | |
| uint16_t | lr1121_discovery_hop_slice_ms |
| Per-channel dwell while LR1121 discovery hops. | |
| uint8_t | lbt_max_retries {LBT_MAX_RETRIES} |
| LBT retries before forced TX. | |
| int16_t | lbt_rssi_threshold_dbm {LBT_RSSI_THRESHOLD_DBM} |
| LBT channel-free threshold (dBm). | |
| uint16_t | exchange_start_response_wait_ms |
| Reply window for a start frame (wakes a sleeping device). | |
| uint16_t | exchange_response_wait_ms |
| Reply window for continuation frames and the post-auth final response. | |
| std::vector< DiscoveryCommand > | pairing_discovery_commands |
| Ordered discovery commands. | |
| std::vector< uint8_t > | pairing_discovery_destination {0x00, 0x00, 0x00} |
| Destination when auto=false. | |
| bool | pairing_discovery_destination_auto {true} |
| When true, map commands to conventional addresses. | |
| uint8_t | pairing_discovery_payload {0} |
| Optional payload byte (used for 0x2E). | |
| bool | pairing_discovery_payload_enabled {false} |
| Whether the optional payload is enabled. | |
| bool | pairing_discovery_low_power {false} |
| Set LOW_POWER flag in discovery frames. | |
| uint16_t | pairing_discovery_wait_ms |
| Total wait window after sending discovery commands. | |
| uint16_t | pairing_discovery_initial_dwell_ms |
| Initial dwell on CH2 before discovery hopping begins. | |
| uint8_t | pairing_key_exchange_retries |
| Retries for the authenticated key exchange phase. | |
| bool | active {false} |
| True when the YAML tuning: block is present. | |
All runtime tunable parameters for pairing and radio diagnostics.
Values reset to their defaults on every boot. Each field initializes from a canonical constant — chip-neutral defaults live in proto_timing.h, chip-specific defaults in this header — shared with the ESPHome YAML schema. The hub stores a single TuningConfig instance and passes it to the radio driver and pairing flow. UI callbacks update the hub instance directly; the snapshot helpers emit the current values in YAML-compatible form so a working combination can be copied back into the configuration file.
Definition at line 161 of file tuning_config.h.
| bool esphome::home_io_control::TuningConfig::active {false} |
True when the YAML tuning: block is present.
Definition at line 206 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::exchange_response_wait_ms |
Reply window for continuation frames and the post-auth final response.
Definition at line 187 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::exchange_start_response_wait_ms |
Reply window for a start frame (wakes a sleeping device).
Definition at line 185 of file tuning_config.h.
| uint8_t esphome::home_io_control::TuningConfig::lbt_max_retries {LBT_MAX_RETRIES} |
LBT retries before forced TX.
Definition at line 177 of file tuning_config.h.
| int16_t esphome::home_io_control::TuningConfig::lbt_rssi_threshold_dbm {LBT_RSSI_THRESHOLD_DBM} |
LBT channel-free threshold (dBm).
Definition at line 178 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::lr1121_discovery_hop_slice_ms |
Per-channel dwell while LR1121 discovery hops.
Definition at line 175 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::lr1121_post_tx_settle_us {LR1121_POST_TX_SETTLE_US} |
Delay after LR1121 TX before RX (µs).
Definition at line 174 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::lr1121_response_preamble {LR1121_RESPONSE_PREAMBLE} |
LR1121 response preamble in bytes.
Definition at line 173 of file tuning_config.h.
| LR1121RxBandwidth esphome::home_io_control::TuningConfig::lr1121_rx_bandwidth {LR1121RxBandwidth::BW_117_3_KHZ} |
LR1121 RX bandwidth selector.
Definition at line 172 of file tuning_config.h.
| std::vector<DiscoveryCommand> esphome::home_io_control::TuningConfig::pairing_discovery_commands |
Ordered discovery commands.
Definition at line 191 of file tuning_config.h.
| std::vector<uint8_t> esphome::home_io_control::TuningConfig::pairing_discovery_destination {0x00, 0x00, 0x00} |
Destination when auto=false.
Definition at line 193 of file tuning_config.h.
| bool esphome::home_io_control::TuningConfig::pairing_discovery_destination_auto {true} |
When true, map commands to conventional addresses.
Definition at line 194 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::pairing_discovery_initial_dwell_ms |
Initial dwell on CH2 before discovery hopping begins.
Definition at line 200 of file tuning_config.h.
| bool esphome::home_io_control::TuningConfig::pairing_discovery_low_power {false} |
Set LOW_POWER flag in discovery frames.
Definition at line 197 of file tuning_config.h.
| uint8_t esphome::home_io_control::TuningConfig::pairing_discovery_payload {0} |
Optional payload byte (used for 0x2E).
Definition at line 195 of file tuning_config.h.
| bool esphome::home_io_control::TuningConfig::pairing_discovery_payload_enabled {false} |
Whether the optional payload is enabled.
Definition at line 196 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::pairing_discovery_wait_ms |
Total wait window after sending discovery commands.
Definition at line 198 of file tuning_config.h.
| uint8_t esphome::home_io_control::TuningConfig::pairing_key_exchange_retries |
Retries for the authenticated key exchange phase.
Definition at line 202 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::sx1262_discovery_hop_slice_ms |
Per-channel dwell while SX1262 discovery hops.
Definition at line 170 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::sx1262_post_tx_settle_us {SX1262_POST_TX_SETTLE_US} |
Delay after SX1262 TX before RX (µs).
Definition at line 165 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::sx1262_response_preamble {SX1262_RESPONSE_PREAMBLE} |
SX1262 response preamble in bytes.
Definition at line 164 of file tuning_config.h.
| SX1262RxBandwidth esphome::home_io_control::TuningConfig::sx1262_rx_bandwidth {SX1262RxBandwidth::BW_117_3_KHZ} |
SX1262 RX bandwidth selector.
Definition at line 163 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::sx1276_discovery_hop_slice_ms |
Per-channel dwell while SX1276 discovery hops.
Definition at line 168 of file tuning_config.h.
| uint16_t esphome::home_io_control::TuningConfig::sx1276_response_preamble {SX1276_RESPONSE_PREAMBLE} |
SX1276 response preamble in bytes.
Definition at line 167 of file tuning_config.h.
| SX1276RxBandwidth esphome::home_io_control::TuningConfig::sx1276_rx_bandwidth {SX1276RxBandwidth::BW_41_7_KHZ} |
SX1276 RX bandwidth selector.
Definition at line 166 of file tuning_config.h.