Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/BLE.h
- Revision:
- 529:ccfae9d8e56e
- Parent:
- 528:8d21604fe31d
- Child:
- 530: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: /**