BLE

Fork of BLE_API by Bluetooth Low Energy

Revision:
530:ccfae9d8e56e
Parent:
529:8d21604fe31d
Child:
531:00800f9ffbfb
--- 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:
     /**