|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Context carried across one outbound authenticated exchange. More...
#include <hub_exchange.h>
Public Attributes | |
| OutboundExchangeState | state {OutboundExchangeState::IDLE} |
| Current state machine state. | |
| uint8_t | try_index {0} |
| Current retry attempt (1‑based within EXCHANGE_RETRY_COUNT). | |
| bool | saw_challenge {false} |
| True if a 0x3C challenge was received during this exchange. | |
| uint32_t | try_start_ms {0} |
| millis() when this try's request transmit began, after any retry gap. | |
| uint32_t | wait_ms {0} |
| Current timeout window for the active wait (ms). | |
| uint32_t | first_response_ms {0} |
| Timestamp when the first valid response arrived (for RTT/timing). | |
| uint16_t | request_preamble {0} |
| Start preamble (bytes) this try's request went out with. | |
| uint32_t | target_last_seen_ms {0} |
| When the target was last heard (millis), 0 = unknown; logged as the try's age_ms= so field logs can relate hits to wake state. | |
| IoFrame | rx {} |
| Most recent candidate frame received during the exchange. | |
Context carried across one outbound authenticated exchange.
Definition at line 76 of file hub_exchange.h.
| uint32_t esphome::home_io_control::exchange::OutboundExchangeContext::first_response_ms {0} |
Timestamp when the first valid response arrived (for RTT/timing).
Definition at line 82 of file hub_exchange.h.
| uint16_t esphome::home_io_control::exchange::OutboundExchangeContext::request_preamble {0} |
Start preamble (bytes) this try's request went out with.
Definition at line 83 of file hub_exchange.h.
| IoFrame esphome::home_io_control::exchange::OutboundExchangeContext::rx {} |
Most recent candidate frame received during the exchange.
Definition at line 86 of file hub_exchange.h.
| bool esphome::home_io_control::exchange::OutboundExchangeContext::saw_challenge {false} |
True if a 0x3C challenge was received during this exchange.
Definition at line 79 of file hub_exchange.h.
| OutboundExchangeState esphome::home_io_control::exchange::OutboundExchangeContext::state {OutboundExchangeState::IDLE} |
Current state machine state.
Definition at line 77 of file hub_exchange.h.
| uint32_t esphome::home_io_control::exchange::OutboundExchangeContext::target_last_seen_ms {0} |
When the target was last heard (millis), 0 = unknown; logged as the try's age_ms= so field logs can relate hits to wake state.
Definition at line 84 of file hub_exchange.h.
| uint8_t esphome::home_io_control::exchange::OutboundExchangeContext::try_index {0} |
Current retry attempt (1‑based within EXCHANGE_RETRY_COUNT).
Definition at line 78 of file hub_exchange.h.
| uint32_t esphome::home_io_control::exchange::OutboundExchangeContext::try_start_ms {0} |
millis() when this try's request transmit began, after any retry gap.
Definition at line 80 of file hub_exchange.h.
| uint32_t esphome::home_io_control::exchange::OutboundExchangeContext::wait_ms {0} |
Current timeout window for the active wait (ms).
Definition at line 81 of file hub_exchange.h.