|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Parsed IO‑Homecontrol frame (CTRL0/1 + addresses + command + data). More...
#include <proto_frame.h>
Public Attributes | |
| uint8_t | ctrl0 |
| Control byte 0: flags + length. | |
| uint8_t | ctrl1 |
| Control byte 1: low power, beacon, etc. | |
| uint8_t | dst [NODE_ID_SIZE] |
| Destination node ID (3 bytes). | |
| uint8_t | src [NODE_ID_SIZE] |
| Source node ID (3 bytes). | |
| uint8_t | cmd |
| Command ID. | |
| uint8_t | data [FRAME_MAX_DATA_SIZE] |
| Command parameters (0–23 bytes). | |
| uint8_t | data_len |
| Actual length of data. | |
Parsed IO‑Homecontrol frame (CTRL0/1 + addresses + command + data).
Over the air layout: [CTRL0][CTRL1][DST 3B][SRC 3B][CMD][DATA 0-23B][CRC 2B]. The CRC is handled by hardware on SX1276 (IoHomeOn) and by software on SX1262; it is not included in this struct.
Definition at line 205 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::cmd |
Command ID.
Definition at line 210 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::ctrl0 |
Control byte 0: flags + length.
Definition at line 206 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::ctrl1 |
Control byte 1: low power, beacon, etc.
Definition at line 207 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::data[FRAME_MAX_DATA_SIZE] |
Command parameters (0–23 bytes).
Definition at line 211 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::data_len |
Actual length of data.
Definition at line 212 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::dst[NODE_ID_SIZE] |
Destination node ID (3 bytes).
Definition at line 208 of file proto_frame.h.
| uint8_t esphome::home_io_control::IoFrame::src[NODE_ID_SIZE] |
Source node ID (3 bytes).
Definition at line 209 of file proto_frame.h.