From f400afe5008d56ff016ca0e6c51bf496c11f96d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Tue, 11 Jun 2024 18:47:22 +0200 Subject: [PATCH] fix(BtLE): GATTPeripheral::serviceUUIDForAssignedNumber() always returns a null UUID --- protocols/BtLE/src/GATTPeripheral.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/BtLE/src/GATTPeripheral.cpp b/protocols/BtLE/src/GATTPeripheral.cpp index f8a6e28fa..23e390600 100644 --- a/protocols/BtLE/src/GATTPeripheral.cpp +++ b/protocols/BtLE/src/GATTPeripheral.cpp @@ -121,7 +121,7 @@ Poco::UUID GATTPeripheral::serviceUUIDForAssignedNumber(Poco::UInt32 assignedNum { if (it->uuid == uuid) { - break; + return uuid; } }