Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
transmit_observer.h File Reference

Observer interface for every frame the exchange engine puts on air. More...

#include "proto_frame.h"
#include "radio_interface.h"
#include <cstdint>
Include dependency graph for transmit_observer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esphome::home_io_control::TransmitObserver
 Receives transmit events from ExchangeEngine::transmit_frame(). More...

Namespaces

namespace  esphome
namespace  esphome::home_io_control

Detailed Description

Observer interface for every frame the exchange engine puts on air.

ExchangeEngine::transmit_frame() is the single TX choke point of the hub: 2W exchanges, pairing, and 1W bursts all transmit through it. A TransmitObserver attached to the engine sees each listen-before-talk deferral and each frame the radio accepted, without the engine knowing who is listening or why. PairingTelemetry is the observer during a pairing attempt.

Definition in file transmit_observer.h.