BLE
Fork of BLE_API by
Diff: public/BLE.h
- Revision:
- 530:ccfae9d8e56e
- Parent:
- 529:8d21604fe31d
- Child:
- 531: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: /**