|
ESPHome 2026.11.0-dev
|
Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| namespace | esphome::haier_water_heater |
| namespace | esphome::haier_water_heater::water_heater_protocol |
Functions | |
| size_t | esphome::haier_water_heater::water_heater_protocol::encode_frame (FrameType type, const uint8_t *payload, size_t size, uint8_t *wire) |
| Writes a clear-text frame with up to MAX_PAYLOAD bytes of payload into wire, which must hold MAX_WIRE_FRAME bytes. | |
| HonMode | esphome::haier_water_heater::water_heater_protocol::decode_mode (const uint8_t *payload) |
| bool | esphome::haier_water_heater::water_heater_protocol::decode_status (const uint8_t *frame, size_t size, Status &status) |
| Decodes a status report or a polled status; false for any other frame or an implausible one. | |
| void | esphome::haier_water_heater::water_heater_protocol::encode_control (const Command &command, uint8_t *payload) |
| Fills the four-byte control payload for a command. | |
| bool | esphome::haier_water_heater::water_heater_protocol::command_confirmed (const Command &command, const Status &status) |
| True when a status shows that the command took effect. | |