xiao sun / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:51:54 2015 +0100
Parent:
425:554872b84999
Child:
427:6d47371cb05c
Commit message:
Synchronized with git rev 8980b6d7
Author: Rohit Grover
add API for stopScanning()

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
@@ -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);