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

A 1W pairing-gesture frame observed on the hub's normal passive RX path, remembered so a fresh discover_and_pair() attempt can seed its telemetry with it (issue #27/#65: the discovery telemetry window only starts recording at PairingTelemetry::begin(), so a PROG press completed just before "Discover & Pair" is pressed could otherwise be invisible to the pairing advisor even though the radio heard it just fine). More...

#include <pairing_telemetry.h>

Collaboration diagram for esphome::home_io_control::RecentOneWayPairingSighting:

Public Attributes

uint8_t src [NODE_ID_SIZE] {}
 Sender node ID.
uint8_t dst [NODE_ID_SIZE] {}
 Destination node ID (the 1W broadcast address, in practice).
uint8_t cmd {0}
 Frame command byte.
int16_t rssi {0}
 RSSI in dBm at the time it was overheard.
uint32_t seen_ms {0}
 millis() the frame was seen; 0 if none seen since boot.

Detailed Description

A 1W pairing-gesture frame observed on the hub's normal passive RX path, remembered so a fresh discover_and_pair() attempt can seed its telemetry with it (issue #27/#65: the discovery telemetry window only starts recording at PairingTelemetry::begin(), so a PROG press completed just before "Discover & Pair" is pressed could otherwise be invisible to the pairing advisor even though the radio heard it just fine).

seen_ms == 0 means none has been observed since boot. Owned by the hub, written from hub_status.cpp's passive RX path, read by PairingEngine at the start of every attempt.

Definition at line 69 of file pairing_telemetry.h.

Member Data Documentation

◆ cmd

uint8_t esphome::home_io_control::RecentOneWayPairingSighting::cmd {0}

Frame command byte.

Definition at line 72 of file pairing_telemetry.h.

◆ dst

uint8_t esphome::home_io_control::RecentOneWayPairingSighting::dst[NODE_ID_SIZE] {}

Destination node ID (the 1W broadcast address, in practice).

Definition at line 71 of file pairing_telemetry.h.

◆ rssi

int16_t esphome::home_io_control::RecentOneWayPairingSighting::rssi {0}

RSSI in dBm at the time it was overheard.

Definition at line 73 of file pairing_telemetry.h.

◆ seen_ms

uint32_t esphome::home_io_control::RecentOneWayPairingSighting::seen_ms {0}

millis() the frame was seen; 0 if none seen since boot.

Definition at line 74 of file pairing_telemetry.h.

◆ src

uint8_t esphome::home_io_control::RecentOneWayPairingSighting::src[NODE_ID_SIZE] {}

Sender node ID.

Definition at line 70 of file pairing_telemetry.h.


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