Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::ExchangeEngine::DebugInfo Struct Reference

Snapshot of the last exchange attempt for diagnostics. More...

#include <exchange_engine.h>

Collaboration diagram for esphome::home_io_control::ExchangeEngine::DebugInfo:

Public Attributes

const char * stage {"idle"}
 Last recorded stage label.
uint8_t tries {0}
 Retry count (1-based).
uint8_t request_cmd {0}
 Command ID of the original request.
bool saw_challenge {false}
 True if a 0x3C was seen during this exchange.
bool capture_valid {false}
 True if radio capture is meaningful.
bool capture_rx_done {false}
 True if RxDone IRQ fired.
bool capture_crc_error {false}
 True if CRC error flagged (chip-dependent; see RadioCaptureInfo::crc_error).
uint32_t capture_freq_hz {0}
 RF frequency of the captured packet.
uint16_t capture_irq_status {0}
 Raw IRQ register value.
uint8_t capture_packet_status {0}
 Chip packet-status byte.
uint8_t capture_reported_len {0}
 Length reported by radio packet engine.
uint8_t capture_frame_len {0}
 Parsed protocol frame length.
int16_t capture_rssi_dbm {0}
 RSSI of the captured packet (dBm).

Detailed Description

Snapshot of the last exchange attempt for diagnostics.

Definition at line 151 of file exchange_engine.h.

Member Data Documentation

◆ capture_crc_error

bool esphome::home_io_control::ExchangeEngine::DebugInfo::capture_crc_error {false}

True if CRC error flagged (chip-dependent; see RadioCaptureInfo::crc_error).

Definition at line 158 of file exchange_engine.h.

◆ capture_frame_len

uint8_t esphome::home_io_control::ExchangeEngine::DebugInfo::capture_frame_len {0}

Parsed protocol frame length.

Definition at line 163 of file exchange_engine.h.

◆ capture_freq_hz

uint32_t esphome::home_io_control::ExchangeEngine::DebugInfo::capture_freq_hz {0}

RF frequency of the captured packet.

Definition at line 159 of file exchange_engine.h.

◆ capture_irq_status

uint16_t esphome::home_io_control::ExchangeEngine::DebugInfo::capture_irq_status {0}

Raw IRQ register value.

Definition at line 160 of file exchange_engine.h.

◆ capture_packet_status

uint8_t esphome::home_io_control::ExchangeEngine::DebugInfo::capture_packet_status {0}

Chip packet-status byte.

Definition at line 161 of file exchange_engine.h.

◆ capture_reported_len

uint8_t esphome::home_io_control::ExchangeEngine::DebugInfo::capture_reported_len {0}

Length reported by radio packet engine.

Definition at line 162 of file exchange_engine.h.

◆ capture_rssi_dbm

int16_t esphome::home_io_control::ExchangeEngine::DebugInfo::capture_rssi_dbm {0}

RSSI of the captured packet (dBm).

Definition at line 164 of file exchange_engine.h.

◆ capture_rx_done

bool esphome::home_io_control::ExchangeEngine::DebugInfo::capture_rx_done {false}

True if RxDone IRQ fired.

Definition at line 157 of file exchange_engine.h.

◆ capture_valid

bool esphome::home_io_control::ExchangeEngine::DebugInfo::capture_valid {false}

True if radio capture is meaningful.

Definition at line 156 of file exchange_engine.h.

◆ request_cmd

uint8_t esphome::home_io_control::ExchangeEngine::DebugInfo::request_cmd {0}

Command ID of the original request.

Definition at line 154 of file exchange_engine.h.

◆ saw_challenge

bool esphome::home_io_control::ExchangeEngine::DebugInfo::saw_challenge {false}

True if a 0x3C was seen during this exchange.

Definition at line 155 of file exchange_engine.h.

◆ stage

const char* esphome::home_io_control::ExchangeEngine::DebugInfo::stage {"idle"}

Last recorded stage label.

Definition at line 152 of file exchange_engine.h.

◆ tries

uint8_t esphome::home_io_control::ExchangeEngine::DebugInfo::tries {0}

Retry count (1-based).

Definition at line 153 of file exchange_engine.h.


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