test
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 280:cbaa4cb83548
- Parent:
- 279:6e5e79f1fb61
- Child:
- 281:2280bb1a9a9e
diff -r 6e5e79f1fb61 -r cbaa4cb83548 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:26 2015 +0100 @@ -67,6 +67,10 @@ return sdSingleton.isActive(); } +void ServiceDiscovery::onTermination(TerminationCallback_t callback) { + sdSingleton.setOnTermination(callback); +} + ble_error_t NordicServiceDiscovery::launchCharacteristicDiscovery(Gap::Handle_t connectionHandle, Gap::Handle_t startHandle,