|
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 | exchange_start_ms {0} |
| Timestamp when the exchange attempt began (millis). | |
| 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). | |
| IoFrame | rx {} |
| Most recent candidate frame received during the exchange. | |
Context carried across one outbound authenticated exchange.
Definition at line 58 of file hub_exchange.h.
| uint32_t esphome::home_io_control::exchange::OutboundExchangeContext::exchange_start_ms {0} |
Timestamp when the exchange attempt began (millis).
Definition at line 62 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 64 of file hub_exchange.h.
| IoFrame esphome::home_io_control::exchange::OutboundExchangeContext::rx {} |
Most recent candidate frame received during the exchange.
Definition at line 65 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 61 of file hub_exchange.h.
| OutboundExchangeState esphome::home_io_control::exchange::OutboundExchangeContext::state {OutboundExchangeState::IDLE} |
Current state machine state.
Definition at line 59 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 60 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 63 of file hub_exchange.h.