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

One decoded CMD_TRANSFER_OPEN_RESP payload. More...

#include <proto_codecs.h>

Collaboration diagram for esphome::home_io_control::TransferOpenReply:

Public Member Functions

bool ok () const

Public Attributes

uint8_t handle {0}
 data[0]; the first byte of every CMD_UNKNOWN4A_REQ that follows.
uint8_t status {0}
 data[1]; TRANSFER_STATUS_ACCEPTED / _ADAPTED, anything else is an error.
uint16_t length {0}
 data[2..3] big-endian: bytes available to read; 0 means nothing to read.

Detailed Description

One decoded CMD_TRANSFER_OPEN_RESP payload.

Definition at line 464 of file proto_codecs.h.

Member Function Documentation

◆ ok()

bool esphome::home_io_control::TransferOpenReply::ok ( ) const
inlinenodiscard

Definition at line 468 of file proto_codecs.h.

Member Data Documentation

◆ handle

uint8_t esphome::home_io_control::TransferOpenReply::handle {0}

data[0]; the first byte of every CMD_UNKNOWN4A_REQ that follows.

Definition at line 465 of file proto_codecs.h.

◆ length

uint16_t esphome::home_io_control::TransferOpenReply::length {0}

data[2..3] big-endian: bytes available to read; 0 means nothing to read.

Definition at line 467 of file proto_codecs.h.

◆ status

uint8_t esphome::home_io_control::TransferOpenReply::status {0}

data[1]; TRANSFER_STATUS_ACCEPTED / _ADAPTED, anything else is an error.

Definition at line 466 of file proto_codecs.h.


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