High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: ble/BLEInstanceBase.h
- Revision:
- 886:0a45c67b2301
- Parent:
- 884:37599305e7b6
- Child:
- 890:f3144091ae19
--- a/ble/BLEInstanceBase.h Thu Nov 26 12:51:59 2015 +0000 +++ b/ble/BLEInstanceBase.h Thu Nov 26 12:51:59 2015 +0000 @@ -32,7 +32,8 @@ class BLEInstanceBase { public: - virtual ble_error_t init(BLE::InstanceID_t instanceID, BLE::InitializationCompleteCallback_t) = 0; + virtual ble_error_t init(BLE::InstanceID_t instanceID, + FunctionPointerWithContext<BLE::InitializationCompleteCallbackContext *> initCallback) = 0; virtual bool hasInitialized(void) const = 0; virtual ble_error_t shutdown(void) = 0; virtual const char * getVersion(void) = 0;