High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 425:554872b84999, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:51:54 2015 +0100
- Parent:
- 424:370d5f1f292f
- Child:
- 426:1114653158f6
- Commit message:
- Synchronized with git rev 17a74c04
Author: Rohit Grover
add API for startScanning()
Changed in this revision
public/BLEDevice.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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);