[ble_client] Use stack buffer for hex formatting in very verbose logging

This commit is contained in:
J. Nick Koston
2025-12-29 15:51:35 -10:00
parent 005dd1ea73
commit 5e7d89f302

View File

@@ -10,8 +10,8 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
// Maximum bytes to log in hex format for BLE writes
static constexpr size_t BLE_WRITE_MAX_LOG_BYTES = 32;
// Maximum bytes to log in hex format for BLE writes (many logging buffers are 256 chars)
static constexpr size_t BLE_WRITE_MAX_LOG_BYTES = 64;
namespace esphome::ble_client {