Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Diff: source/nRF5xServiceDiscovery.cpp
- Revision:
- 557:e4218a32be51
- Parent:
- 555:dc3945bd78d7
- Child:
- 563:9c4b96f7be8d
diff -r ecc60b339dfa -r e4218a32be51 source/nRF5xServiceDiscovery.cpp --- a/source/nRF5xServiceDiscovery.cpp Mon Jan 11 10:19:12 2016 +0000 +++ b/source/nRF5xServiceDiscovery.cpp Mon Jan 11 10:19:13 2016 +0000 @@ -254,7 +254,7 @@ memcpy(uuid, response->handle_value[0].p_value, UUID::LENGTH_OF_LONG_UUID); unsigned serviceIndex = serviceUUIDDiscoveryQueue.dequeue(); - services[serviceIndex].setupLongUUID(uuid); + services[serviceIndex].setupLongUUID(uuid, UUID::LSB); serviceUUIDDiscoveryQueue.triggerFirst(); } else { @@ -267,7 +267,7 @@ memcpy(uuid, &(response->handle_value[0].p_value[3]), UUID::LENGTH_OF_LONG_UUID); unsigned charIndex = charUUIDDiscoveryQueue.dequeue(); - characteristics[charIndex].setupLongUUID(uuid); + characteristics[charIndex].setupLongUUID(uuid, UUID::LSB); charUUIDDiscoveryQueue.triggerFirst(); } else {