|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Debug snapshot of the last exchange attempt. More...
#include <hub_core.h>
Public Attributes | |
| const char * | stage {"idle"} |
| Current stage name (e.g., "TX_REQUEST", "WAIT_FIRST_RESPONSE", "FAILED"). | |
| uint8_t | tries {0} |
| Try number (1‑based; increments on each retry within EXCHANGE_RETRY_COUNT). | |
| uint8_t | request_cmd {0} |
| Command ID of the original request (e.g., CMD_EXECUTE=0x00). | |
| bool | saw_challenge {false} |
| True if a challenge (0x3C) was seen during the exchange. | |
| bool | capture_valid {false} |
| True if radio capture data is valid for the last packet seen. | |
| bool | capture_rx_done {false} |
| True if RxDone interrupt fired (packet fully received). | |
| bool | capture_crc_error {false} |
| True if CRC error flagged (SX1262 only; SX1276 IoHomeOn filters in hardware). | |
| uint32_t | capture_freq_hz {0} |
| RF frequency of the captured packet (Hz). | |
| uint16_t | capture_irq_status {0} |
| Raw IRQ status register value from the radio chip. | |
| uint8_t | capture_packet_status {0} |
| Packet status byte (chip-specific; SX1262 includes CRC flag). | |
| uint8_t | capture_reported_len {0} |
| Length reported by the radio's packet engine. | |
| uint8_t | capture_frame_len {0} |
| Length of the parsed protocol frame after recovery/UART decoding. | |
| int16_t | capture_rssi_dbm {0} |
| Received signal strength of the captured packet (dBm, negative). | |
Debug snapshot of the last exchange attempt.
Definition at line 332 of file hub_core.h.
| bool esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_crc_error {false} |
True if CRC error flagged (SX1262 only; SX1276 IoHomeOn filters in hardware).
Definition at line 339 of file hub_core.h.
| uint8_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_frame_len {0} |
Length of the parsed protocol frame after recovery/UART decoding.
Definition at line 344 of file hub_core.h.
| uint32_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_freq_hz {0} |
RF frequency of the captured packet (Hz).
Definition at line 340 of file hub_core.h.
| uint16_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_irq_status {0} |
Raw IRQ status register value from the radio chip.
Definition at line 341 of file hub_core.h.
| uint8_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_packet_status {0} |
Packet status byte (chip-specific; SX1262 includes CRC flag).
Definition at line 342 of file hub_core.h.
| uint8_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_reported_len {0} |
Length reported by the radio's packet engine.
Definition at line 343 of file hub_core.h.
| int16_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_rssi_dbm {0} |
Received signal strength of the captured packet (dBm, negative).
Definition at line 345 of file hub_core.h.
| bool esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_rx_done {false} |
True if RxDone interrupt fired (packet fully received).
Definition at line 338 of file hub_core.h.
| bool esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::capture_valid {false} |
True if radio capture data is valid for the last packet seen.
Definition at line 337 of file hub_core.h.
| uint8_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::request_cmd {0} |
Command ID of the original request (e.g., CMD_EXECUTE=0x00).
Definition at line 335 of file hub_core.h.
| bool esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::saw_challenge {false} |
True if a challenge (0x3C) was seen during the exchange.
Definition at line 336 of file hub_core.h.
| const char* esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::stage {"idle"} |
Current stage name (e.g., "TX_REQUEST", "WAIT_FIRST_RESPONSE", "FAILED").
Definition at line 333 of file hub_core.h.
| uint8_t esphome::home_io_control::IOHomeControlComponent::ExchangeDebugInfo::tries {0} |
Try number (1‑based; increments on each retry within EXCHANGE_RETRY_COUNT).
Definition at line 334 of file hub_core.h.