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

Extended discovery-response fields (manufacturer, Multi Information Byte, backbone address, timestamp) plus flags recording how much of the payload was actually present. More...

#include <proto_codecs.h>

Collaboration diagram for esphome::home_io_control::DiscoveryResponseInfo:

Public Attributes

bool metadata_complete {false}
 data_len >= DEVICE_METADATA_SIZE (type/subtype present).
bool has_extended {false}
 data_len >= DISCOVERY_RESP_FULL_SIZE (mfr/flags/timestamp present).
uint8_t manufacturer {0}
 Raw manufacturer ID; name via manufacturer_name().
uint8_t flags {0}
 Multi Information Byte; decode with DISCOVERY_FLAGS_* masks.
uint8_t backbone [NODE_ID_SIZE] {}
 Backbone address as reported by the device.
uint16_t timestamp {0}
 Device timestamp field (advances between replies).

Detailed Description

Extended discovery-response fields (manufacturer, Multi Information Byte, backbone address, timestamp) plus flags recording how much of the payload was actually present.

Definition at line 187 of file proto_codecs.h.

Member Data Documentation

◆ backbone

uint8_t esphome::home_io_control::DiscoveryResponseInfo::backbone[NODE_ID_SIZE] {}

Backbone address as reported by the device.

Definition at line 192 of file proto_codecs.h.

◆ flags

uint8_t esphome::home_io_control::DiscoveryResponseInfo::flags {0}

Multi Information Byte; decode with DISCOVERY_FLAGS_* masks.

Definition at line 191 of file proto_codecs.h.

◆ has_extended

bool esphome::home_io_control::DiscoveryResponseInfo::has_extended {false}

data_len >= DISCOVERY_RESP_FULL_SIZE (mfr/flags/timestamp present).

Definition at line 189 of file proto_codecs.h.

◆ manufacturer

uint8_t esphome::home_io_control::DiscoveryResponseInfo::manufacturer {0}

Raw manufacturer ID; name via manufacturer_name().

Definition at line 190 of file proto_codecs.h.

◆ metadata_complete

bool esphome::home_io_control::DiscoveryResponseInfo::metadata_complete {false}

data_len >= DEVICE_METADATA_SIZE (type/subtype present).

Definition at line 188 of file proto_codecs.h.

◆ timestamp

uint16_t esphome::home_io_control::DiscoveryResponseInfo::timestamp {0}

Device timestamp field (advances between replies).

Definition at line 193 of file proto_codecs.h.


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