Diff between a29d610d25c4a4248cd341cb015cbff9f79c787f and 31d74307597c337ca69d36a243bd3a59637b3344

Changed Files

File Additions Deletions Status
client/gatt.c +3 -0 modified

Full Patch

diff --git a/client/gatt.c b/client/gatt.c
index e03ef96..1de8736 100644
--- a/client/gatt.c
+++ b/client/gatt.c
@@ -526,6 +526,9 @@ static GDBusProxy *select_proxy_by_uuid(GDBusProxy *parent, const char *uuid,
 
 		if (strcasecmp(uuid, value) == 0)
 			return proxy;
+
+		if (strlen(uuid) == 4 && !strncasecmp(value + 4, uuid, 4))
+			return proxy;
 	}
 
 	return NULL;