fdsf
Fork of nRF51822 by
Diff: source/nRF5xServiceDiscovery.cpp
- Revision:
- 535:f9ab1b333b44
- Parent:
- 533:f72aaae1e61e
- Child:
- 541:884f95bf5351
diff -r bcfe7a90edb9 -r f9ab1b333b44 source/nRF5xServiceDiscovery.cpp --- a/source/nRF5xServiceDiscovery.cpp Wed Dec 02 13:14:18 2015 +0000 +++ b/source/nRF5xServiceDiscovery.cpp Thu Dec 10 10:35:58 2015 +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 {