From 6feca1dc60a7e3277c504e50b566f08760c69baa Mon Sep 17 00:00:00 2001 From: Paul Nettle Date: Wed, 27 Sep 2017 19:37:25 -0500 Subject: Added a threaded worker that listens for HCI events, resolving a number of problem areas. --- src/GattUuid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GattUuid.h') diff --git a/src/GattUuid.h b/src/GattUuid.h index 9d95754..6cfb9ca 100644 --- a/src/GattUuid.h +++ b/src/GattUuid.h @@ -159,7 +159,7 @@ struct GattUuid { bitCount = 32; char partStr[9]; - snprintf(partStr, sizeof(partStr), "%04x", part); + snprintf(partStr, sizeof(partStr), "%08x", part); uuid = std::string(partStr) + kGattStandardUuidSuffix; } -- cgit v1.2.3