|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Shared frame logging helpers for IO-Homecontrol. More...
#include "proto_frame.h"#include "redaction.h"#include "esphome/core/log.h"#include <cinttypes>#include <cstddef>#include <cstdint>#include <cstdio>Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Functions | |
| void | esphome::home_io_control::bytes_to_hex (const uint8_t *data, uint8_t len, char *out, size_t out_size) |
| void | esphome::home_io_control::decode_ctrl1_flags (uint8_t ctrl1, char *out, size_t out_size) |
| Render decoded CTRL1 flags into a short annotation string. | |
| void | esphome::home_io_control::render_frame_hex_redacted (const uint8_t *data, uint8_t len, char *out, size_t out_size) |
| Render a frame's bytes as spaced hex text, masking the payload when the command carries key material (see command_carries_key_material()). | |
Variables | |
| constexpr size_t | esphome::home_io_control::FRAME_LOG_HEX_BUFFER_SIZE = 220 |
| Fits a full 32-byte frame rendered as spaced hex text. | |
| constexpr size_t | esphome::home_io_control::FRAME_LOG_FLAGS_BUFFER_SIZE = 32 |
| Buffer for decoded CTRL1 flag annotations. | |
Shared frame logging helpers for IO-Homecontrol.
Definition in file log_frame.h.