aa
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 280:cbaa4cb83548
- Parent:
- 279:6e5e79f1fb61
- Child:
- 281:2280bb1a9a9e
--- 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,