High level Bluetooth Low Energy API and radio abstraction layer
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Overview
The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.
Supported Services
Supported services can be found in the BLE_API/services folder.
Diff: ble/CallChainOfFunctionPointersWithContext.h
- Revision:
- 1177:f9060dc8c5ab
- Parent:
- 1156:e1ea38b576c6
- Child:
- 1179:4ab722f8dca0
--- a/ble/CallChainOfFunctionPointersWithContext.h Wed Apr 06 19:15:24 2016 +0100 +++ b/ble/CallChainOfFunctionPointersWithContext.h Wed Apr 06 19:15:26 2016 +0100 @@ -121,6 +121,9 @@ * FunctionPointerWithContext to detach from this callchain. * * @return true if a function pointer has been detached and false otherwise. + * + * @note It is safe to remove a function pointer while the chain is + * traversed by call(ContextType). */ bool detach(const FunctionPointerWithContext<ContextType>& toDetach) { pFunctionPointerWithContext_t current = chainHead;