[bedjet] Use stack-based UUID formatting in logging (#12993)

This commit is contained in:
J. Nick Koston
2026-01-05 17:19:34 -10:00
committed by GitHub
parent e6e0be3345
commit 8251513556

View File

@@ -193,8 +193,9 @@ bool BedJetHub::discover_characteristics_() {
result = false;
} else if (descr->uuid.get_uuid().len != ESP_UUID_LEN_16 ||
descr->uuid.get_uuid().uuid.uuid16 != ESP_GATT_UUID_CHAR_CLIENT_CONFIG) {
char uuid_buf[espbt::UUID_STR_LEN];
ESP_LOGW(TAG, "Config descriptor 0x%x (uuid %s) is not a client config char uuid", this->char_handle_status_,
descr->uuid.to_string().c_str());
descr->uuid.to_str(uuid_buf));
result = false;
} else {
this->config_descr_status_ = descr->handle;