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.
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: btle/btle_discovery.cpp
- 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,