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

The event header of a well-formed CMD_STATUS_UPDATE payload. More...

#include <proto_codecs.h>

Collaboration diagram for esphome::home_io_control::StatusUpdateEvent:

Public Attributes

uint16_t event_id {0}
 EVENT_STATUS_CHANGE for a position update, any other id for a device event report.
uint8_t data_offset {0}
 Payload offset of the first event-data byte (STATUS_UPDATE_EVENT_DATA_OFFSET).
uint8_t data_len {0}
 Number of event-data bytes; equals the payload length minus the header.

Detailed Description

The event header of a well-formed CMD_STATUS_UPDATE payload.

Definition at line 420 of file proto_codecs.h.

Member Data Documentation

◆ data_len

uint8_t esphome::home_io_control::StatusUpdateEvent::data_len {0}

Number of event-data bytes; equals the payload length minus the header.

Definition at line 423 of file proto_codecs.h.

◆ data_offset

uint8_t esphome::home_io_control::StatusUpdateEvent::data_offset {0}

Payload offset of the first event-data byte (STATUS_UPDATE_EVENT_DATA_OFFSET).

Definition at line 422 of file proto_codecs.h.

◆ event_id

uint16_t esphome::home_io_control::StatusUpdateEvent::event_id {0}

EVENT_STATUS_CHANGE for a position update, any other id for a device event report.

Definition at line 421 of file proto_codecs.h.


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