Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 336:896e159d3af6
- Parent:
- 335:dea9e14b7ddc
- Child:
- 341:8a104d9d80c1
--- 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; /**