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/nRF51ServiceDiscovery.cpp
- Revision:
- 392:b21c1373df4d
- Parent:
- 391:8cc3528a1233
diff -r 8cc3528a1233 -r b21c1373df4d source/nRF51ServiceDiscovery.cpp
--- a/source/nRF51ServiceDiscovery.cpp Tue Jul 21 13:23:45 2015 +0100
+++ b/source/nRF51ServiceDiscovery.cpp Tue Jul 21 13:23:45 2015 +0100
@@ -154,7 +154,7 @@
/* Iterate through the previously discovered services cached in services[]. */
while ((state == SERVICE_DISCOVERY_ACTIVE) && (serviceIndex < numServices)) {
if ((matchingServiceUUID == UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) ||
- (matchingServiceUUID == services[serviceIndex].getUUID().getShortUUID())) {
+ (matchingServiceUUID == services[serviceIndex].getUUID())) {
if (serviceCallback && (matchingCharacteristicUUID == UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN))) {
serviceCallback(&services[serviceIndex]);
