From 66dc5c926d33384d4f41eb86464a159bde2af7b7 Mon Sep 17 00:00:00 2001 From: Christian Baars Date: Mon, 8 Dec 2025 11:11:29 +0100 Subject: [PATCH] MI32: use always 128-bit UUID for characteristics as peripheral (#24197) --- tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino b/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino index 461594c7d..fdd26010a 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino @@ -885,7 +885,7 @@ extern "C" { bool MI32setBerryCtxChr(const char *Chr){ if(MI32.conCtx != nullptr){ - MI32.conCtx->charUUID = NimBLEUUID(Chr); + MI32.conCtx->charUUID = NimBLEUUID(Chr).to128(); AddLog(LOG_LEVEL_DEBUG,PSTR("M32: CHR: %s"),MI32.conCtx->charUUID.toString().c_str()); uint16_t _uuid = *reinterpret_cast(MI32.conCtx->charUUID.getValue() + 12); //if not "notify op" -> present requested characteristic as return UUID MI32.conCtx->returnCharUUID = _uuid;