ESPHome
2025.3.2
|
Data Structures | |
struct | CommandRequestReply |
struct | MessageHeader |
struct | StatusReply |
struct | StatusRequest |
class | Tormatic |
Enumerations | |
enum | MessageType : uint16_t { STATUS = 0x0104, COMMAND = 0x0106 } |
enum | StatusType : uint16_t { GATE = 0x0A, UNKNOWN = 0x0B } |
enum | GateStatus : uint8_t { PAUSED, CLOSED, VENTILATING, OPENED, OPENING, CLOSING } |
Functions | |
const char * | message_type_to_str (MessageType t) |
struct esphome::tormatic::MessageHeader | __attribute__ ((packed)) |
CoverOperation | gate_status_to_cover_operation (GateStatus s) |
const char * | gate_status_to_str (GateStatus s) |
template<typename T > | |
std::vector< uint8_t > | serialize (T obj) |
Variables | |
enum esphome::tormatic::StatusType | __attribute__ |
enum esphome::tormatic::GateStatus : uint8_t |
Enumerator | |
---|---|
PAUSED | |
CLOSED | |
VENTILATING | |
OPENED | |
OPENING | |
CLOSING |
Definition at line 110 of file tormatic_protocol.h.
enum esphome::tormatic::MessageType : uint16_t |
Enumerator | |
---|---|
STATUS | |
COMMAND |
Definition at line 53 of file tormatic_protocol.h.
enum esphome::tormatic::StatusType : uint16_t |
Enumerator | |
---|---|
GATE | |
UNKNOWN |
Definition at line 103 of file tormatic_protocol.h.
struct esphome::tormatic::MessageHeader esphome::tormatic::__attribute__ | ( | (packed) | ) |
|
inline |
Definition at line 119 of file tormatic_protocol.h.
|
inline |
Definition at line 134 of file tormatic_protocol.h.
|
inline |
Definition at line 58 of file tormatic_protocol.h.
std::vector<uint8_t> esphome::tormatic::serialize | ( | T | obj | ) |
Definition at line 180 of file tormatic_protocol.h.
struct esphome::tormatic::CommandRequestReply esphome::tormatic::__attribute__ |