jgh

Dependents:   Migration

Fork of BLE_API by Bluetooth Low Energy

Revision:
529:ccfae9d8e56e
Parent:
528:8d21604fe31d
Child:
530:00800f9ffbfb
diff -r 8d21604fe31d -r ccfae9d8e56e public/BLE.h
--- a/public/BLE.h	Fri Jun 19 15:52:07 2015 +0100
+++ b/public/BLE.h	Fri Jun 19 15:52:07 2015 +0100
@@ -55,6 +55,13 @@
      */
     ble_error_t shutdown(void);
 
+    const Gap &gap() const {
+        return transport->getGap();
+    }
+    Gap &gap() {
+        return transport->getGap();
+    }
+
     /* GAP specific APIs */
 public:
     /**