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.
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 571:4449c1345409
- Parent:
- 570:76ec52223765
- Child:
- 574:213fa3938cc6
diff -r 76ec52223765 -r 4449c1345409 public/BLEDevice.h --- a/public/BLEDevice.h Fri Jun 19 15:52:49 2015 +0100 +++ b/public/BLEDevice.h Fri Jun 19 15:52:49 2015 +0100 @@ -859,6 +859,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);