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.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 387:7faa54079669
- Parent:
- 385:6e66d1c6de00
- Child:
- 390:4bf41689c7f9
--- a/public/BLEDevice.h Wed May 13 08:51:08 2015 +0100
+++ b/public/BLEDevice.h Wed May 13 08:51:08 2015 +0100
@@ -766,6 +766,12 @@
}
inline ble_error_t
+BLEDevice::stopScanning(void) {
+ return transport->getGap().stopScanning();
+}
+
+
+inline ble_error_t
BLEDevice::disconnect(Gap::DisconnectionReason_t reason)
{
return transport->getGap().disconnect(reason);
