fdsf
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 298:c10ee33f68ab
- Parent:
- 297:6c432ef3892a
- Child:
- 299:19064275c0e0
diff -r 6c432ef3892a -r c10ee33f68ab btle/btle_discovery.cpp --- a/btle/btle_discovery.cpp Fri Jun 19 15:55:28 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:28 2015 +0100 @@ -251,7 +251,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].getShortUUID())) { + (matchingServiceUUID == services[serviceIndex].getUUID().getShortUUID())) { if (serviceCallback) { serviceCallback(services[serviceIndex]); }