test

Dependencies:   nrf51-sdk

Dependents:   microbit-dal

Fork of nRF51822 by Lancaster University

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,