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/BLE.h
- Revision:
- 882:a4e00d3d7bcb
- Parent:
- 881:853f1df9e30a
- Child:
- 884:37599305e7b6
--- a/ble/BLE.h Tue Nov 03 13:21:03 2015 +0000 +++ b/ble/BLE.h Tue Nov 03 13:21:03 2015 +0000 @@ -104,7 +104,7 @@ */ ble_error_t init(InitializationCompleteCallback_t initCompleteCallback = NULL) { FunctionPointerWithContext<InitializationCompleteCallbackContext *> callback(initCompleteCallback); - initImplementation(callback); + return initImplementation(callback); } /** @@ -114,7 +114,7 @@ template<typename T> ble_error_t init(T *object, void (T::*initCompleteCallback)(InitializationCompleteCallbackContext *context)) { FunctionPointerWithContext<InitializationCompleteCallbackContext *> callback(object, initCompleteCallback); - initImplementation(callback); + return initImplementation(callback); } /**