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: btle/btle_discovery.cpp
- Revision:
- 257:6e0ae0f1697b
- Parent:
- 255:d228656b0cd1
- Child:
- 258:62d6bf03e6a4
diff -r 2f2e9f1d6275 -r 6e0ae0f1697b btle/btle_discovery.cpp --- a/btle/btle_discovery.cpp Fri Jun 19 15:55:23 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:23 2015 +0100 @@ -48,6 +48,19 @@ return BLE_ERROR_NONE; } +ble_error_t +ServiceDiscovery::launch(Gap::Handle_t connectionHandle, + UUID matchingServiceUUIDIn, + ServiceCallback_t sc, + UUID matchingCharacteristicUUIDIn, + CharacteristicCallback_t cc) +{ + discoverySingleton.matchingServiceUUID = matchingServiceUUIDIn; + discoverySingleton.matchingCharacteristicUUID = matchingCharacteristicUUIDIn; + + return launch(connectionHandle, sc, cc); +} + void ServiceDiscovery::terminate(void) {