|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Device pairing orchestration — discovery, key exchange, and finalization. More...
#include "hub_pairing.h"#include "hub_decisions.h"#include "hub_core.h"#include "hub_internal.h"#include "proto_commands.h"#include "esphome/core/log.h"#include <algorithm>#include <cstdio>#include <cstring>Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Device pairing orchestration — discovery, key exchange, and finalization.
Implements IOHomeControlComponent::discover_and_pair() and the three-phase helper methods: run_discovery_phase_(), run_key_exchange_phase_(), finalize_pairing_configuration_(), plus low-level waiters wait_for_discovery_response_() and wait_for_key_challenge_(). Also contains parse_device_from_discovery() to extract device metadata from discovery frames.
Pairing is separated from the normal exchange path to keep authenticated command execution independent from the one-time key-establishment flow.
Definition in file hub_pairing.cpp.