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

Context object that lives for the duration of a single pairing attempt. More...

#include <hub_pairing.h>

Collaboration diagram for esphome::home_io_control::pairing::PairingContext:

Public Attributes

PairingState state {PairingState::IDLE}
 Current state machine state.
IoDevice device {}
 Resolved device metadata after discovery (node_id, type, subtype, etc.).
IoFrame req {}
 Outbound frame buffer (reused across all phases).
IoFrame resp {}
 Inbound frame buffer (holds key‑confirm response).
IoFrame rx {}
 Raw RX frame during waiting phases (discovery, challenge, confirm).
IoFrame key_init {}
 Key‑init frame retained for key‑transfer IV derivation.
RadioRxPacket packet {}
 Raw radio capture for the current phase.
std::string device_id
 Hex string representation of the paired node ID.
bool discovery_metadata_complete {false}
 True when discovery carried type/subtype bytes.

Detailed Description

Context object that lives for the duration of a single pairing attempt.

Definition at line 54 of file hub_pairing.h.

Member Data Documentation

◆ device

IoDevice esphome::home_io_control::pairing::PairingContext::device {}

Resolved device metadata after discovery (node_id, type, subtype, etc.).

Definition at line 56 of file hub_pairing.h.

◆ device_id

std::string esphome::home_io_control::pairing::PairingContext::device_id

Hex string representation of the paired node ID.

Definition at line 62 of file hub_pairing.h.

◆ discovery_metadata_complete

bool esphome::home_io_control::pairing::PairingContext::discovery_metadata_complete {false}

True when discovery carried type/subtype bytes.

Definition at line 63 of file hub_pairing.h.

◆ key_init

IoFrame esphome::home_io_control::pairing::PairingContext::key_init {}

Key‑init frame retained for key‑transfer IV derivation.

Definition at line 60 of file hub_pairing.h.

◆ packet

RadioRxPacket esphome::home_io_control::pairing::PairingContext::packet {}

Raw radio capture for the current phase.

Definition at line 61 of file hub_pairing.h.

◆ req

IoFrame esphome::home_io_control::pairing::PairingContext::req {}

Outbound frame buffer (reused across all phases).

Definition at line 57 of file hub_pairing.h.

◆ resp

IoFrame esphome::home_io_control::pairing::PairingContext::resp {}

Inbound frame buffer (holds key‑confirm response).

Definition at line 58 of file hub_pairing.h.

◆ rx

IoFrame esphome::home_io_control::pairing::PairingContext::rx {}

Raw RX frame during waiting phases (discovery, challenge, confirm).

Definition at line 59 of file hub_pairing.h.

◆ state

PairingState esphome::home_io_control::pairing::PairingContext::state {PairingState::IDLE}

Current state machine state.

Definition at line 55 of file hub_pairing.h.


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