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.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Revision 320:b1281aaf0076, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:55:31 2015 +0100
- Parent:
- 319:cf62d065e70a
- Child:
- 321:3ece9d123429
- Commit message:
- Synchronized with git rev 91c7c03e
Author: Rohit Grover
DiscoveredServiceCallback() now takes a pointer instead of a reference.
Changed in this revision
| btle/btle_discovery.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/btle/btle_discovery.cpp Fri Jun 19 15:55:31 2015 +0100
+++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:31 2015 +0100
@@ -311,7 +311,7 @@
if ((matchingServiceUUID == UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) ||
(matchingServiceUUID == services[serviceIndex].getUUID().getShortUUID())) {
if (serviceCallback) {
- serviceCallback(services[serviceIndex]);
+ serviceCallback(&services[serviceIndex]);
}
if ((state == SERVICE_DISCOVERY_ACTIVE) && characteristicCallback) {

