test

Dependencies:   nrf51-sdk

Dependents:   microbit-dal

Fork of nRF51822 by Lancaster University

Revision:
279:6e5e79f1fb61
Parent:
278:26e3f0ef1e14
Child:
280:cbaa4cb83548
--- 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
@@ -61,6 +61,12 @@
     sdSingleton.terminateServiceDiscovery();
 }
 
+bool
+ServiceDiscovery::isActive(void)
+{
+    return sdSingleton.isActive();
+}
+
 ble_error_t
 NordicServiceDiscovery::launchCharacteristicDiscovery(Gap::Handle_t connectionHandle,
                                                       Gap::Handle_t startHandle,