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/FunctionPointerWithContext.h
- Revision:
- 919:c5b9fac295f5
- Parent:
- 918:2b12b53101ea
- Child:
- 920:d18cff0c4b09
--- a/ble/FunctionPointerWithContext.h Thu Nov 26 12:52:04 2015 +0000 +++ b/ble/FunctionPointerWithContext.h Thu Nov 26 12:52:04 2015 +0000 @@ -94,6 +94,13 @@ } } + /** + * @brief Same as above + */ + void operator()(ContextType context) const { + call(context); + } + /** Same as above, workaround for mbed os FunctionPointer implementation. */ void call(ContextType context) { _caller(this, context);