aboutsummaryrefslogtreecommitdiff
path: root/src/GattUuid.h
diff options
context:
space:
mode:
authorPaul Nettle <nettle.paul@gmail.com>2017-09-27 19:37:25 -0500
committerPaul Nettle <nettle.paul@gmail.com>2017-09-27 19:37:25 -0500
commit6feca1dc60a7e3277c504e50b566f08760c69baa (patch)
tree0428042e2587dab5353536b2bf71e2c81e6a22d2 /src/GattUuid.h
parentAdvertising name logged on startup. (diff)
downloadgobbledegook-6feca1dc60a7e3277c504e50b566f08760c69baa.tar.gz
gobbledegook-6feca1dc60a7e3277c504e50b566f08760c69baa.tar.bz2
gobbledegook-6feca1dc60a7e3277c504e50b566f08760c69baa.zip
Added a threaded worker that listens for HCI events, resolving a number of problem areas.
Diffstat (limited to 'src/GattUuid.h')
-rw-r--r--src/GattUuid.h2
1 files changed, 1 insertions, 1 deletions
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;
}