fdsf
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 285:55ac765bcc8d
- Parent:
- 284:29fb6af6671d
- Child:
- 286:042b01e59cf8
diff -r 29fb6af6671d -r 55ac765bcc8d btle/btle_discovery.cpp --- a/btle/btle_discovery.cpp Fri Jun 19 15:55:26 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:27 2015 +0100 @@ -152,7 +152,7 @@ { /* Iterate through the previously discovered characteristics cached in characteristics[]. */ while (cDiscoveryActive && (characteristicIndex < numCharacteristics)) { - if ((matchingCharacteristicUUID == ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) || + if ((matchingCharacteristicUUID == UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) || (matchingCharacteristicUUID == characteristics[characteristicIndex].getShortUUID())) { if (characteristicCallback) { characteristicCallback(characteristics[characteristicIndex]); @@ -188,7 +188,7 @@ { /* Iterate through the previously discovered services cached in services[]. */ while (sDiscoveryActive && (serviceIndex < numServices)) { - if ((matchingServiceUUID == ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) || + if ((matchingServiceUUID == UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) || (matchingServiceUUID == services[serviceIndex].getShortUUID())) { if (serviceCallback) { serviceCallback(services[serviceIndex]);