Go to the source code of this file.
|
| bool | esphome::daikin_madoka::is_valid_message (std::span< const uint8_t > msg) |
| | True when the length byte matches and the header (length, reserved, function id) is present.
|
| |
| uint16_t | esphome::daikin_madoka::message_function_id (std::span< const uint8_t > msg) |
| |
| std::span< const uint8_t > | esphome::daikin_madoka::find_arg (std::span< const uint8_t > msg, uint8_t id) |
| | Returns the value of argument id, or an empty span when it is absent, has no value or the records are truncated.
|
| |
| bool | esphome::daikin_madoka::merge_args (QueryArgs &args, std::span< const uint8_t > incoming) |
| | Merges the records {id, len, value...} of incoming into args: a record whose id is already present is replaced in place, a new one is appended.
|
| |
| void | esphome::daikin_madoka::append_setpoint (QueryArgs &args, uint8_t id, float temperature) |
| | Appends a setpoint record {id, 2, msb, lsb}, clamped to the supported range.
|
| |
| float | esphome::daikin_madoka::decode_setpoint (std::span< const uint8_t > value) |
| | Decodes a two byte setpoint value; the caller checks the size.
|
| |