We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed2bd28 + 66dc5c9 commit 4f402f9Copy full SHA for 4f402f9
tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino
@@ -885,7 +885,7 @@ extern "C" {
885
886
bool MI32setBerryCtxChr(const char *Chr){
887
if(MI32.conCtx != nullptr){
888
- MI32.conCtx->charUUID = NimBLEUUID(Chr);
+ MI32.conCtx->charUUID = NimBLEUUID(Chr).to128();
889
AddLog(LOG_LEVEL_DEBUG,PSTR("M32: CHR: %s"),MI32.conCtx->charUUID.toString().c_str());
890
uint16_t _uuid = *reinterpret_cast<const uint16_t*>(MI32.conCtx->charUUID.getValue() + 12); //if not "notify op" -> present requested characteristic as return UUID
891
MI32.conCtx->returnCharUUID = _uuid;
0 commit comments