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: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/BLEDevice.h
- Revision:
- 425:554872b84999
- Parent:
- 424:370d5f1f292f
- Child:
- 426:1114653158f6
diff -r 370d5f1f292f -r 554872b84999 public/BLEDevice.h
--- a/public/BLEDevice.h Fri Jun 19 15:51:54 2015 +0100
+++ b/public/BLEDevice.h Fri Jun 19 15:51:54 2015 +0100
@@ -854,6 +854,11 @@
}
inline ble_error_t
+BLEDevice::startScanning(Gap::AdvertisementReportCallback_t callback) {
+ return transport->getGap().startScanning(scanningParams, callback);
+}
+
+inline ble_error_t
BLEDevice::disconnect(Gap::DisconnectionReason_t reason)
{
return transport->getGap().disconnect(reason);