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: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 275:fd709cd8b1b2
- Parent:
- 274:f82e0ecba699
- Child:
- 276:ae6e5129b395
--- a/btle/btle_discovery.cpp Fri Jun 19 15:55:25 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:25 2015 +0100 @@ -24,11 +24,11 @@ static NordicServiceDiscovery discoverySingleton; ble_error_t -ServiceDiscovery::launch(Gap::Handle_t connectionHandle, - ServiceCallback_t sc, - CharacteristicCallback_t cc, - UUID matchingServiceUUIDIn, - UUID matchingCharacteristicUUIDIn) +ServiceDiscovery::launch(Gap::Handle_t connectionHandle, + ServiceCallback_t sc, + CharacteristicCallback_t cc, + const UUID &matchingServiceUUIDIn, + const UUID &matchingCharacteristicUUIDIn) { discoverySingleton.serviceCallback = sc; discoverySingleton.characteristicCallback = cc;