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.
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 336:896e159d3af6
- Parent:
- 335:dea9e14b7ddc
- Child:
- 341:8a104d9d80c1
diff -r dea9e14b7ddc -r 896e159d3af6 public/BLEDevice.h --- a/public/BLEDevice.h Wed Apr 15 09:05:10 2015 +0100 +++ b/public/BLEDevice.h Wed Apr 15 09:05:10 2015 +0100 @@ -306,6 +306,10 @@ */ ble_error_t addService(GattService &service); + /** + * Returns the current GAP state of the device using a bitmask which + * describes whether the device is advertising and/or connected. + */ Gap::GapState_t getGapState(void) const; /**