High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 426:1114653158f6
- Parent:
- 425:554872b84999
- Child:
- 429:057397118755
--- a/public/BLEDevice.h Fri Jun 19 15:51:54 2015 +0100 +++ b/public/BLEDevice.h Fri Jun 19 15:51:54 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);