Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/BLEInstanceBase.h
- Revision:
- 881:853f1df9e30a
- Parent:
- 879:4de7fb4da6ca
- Child:
- 884:37599305e7b6
diff -r af79236bf22c -r 853f1df9e30a ble/BLEInstanceBase.h --- a/ble/BLEInstanceBase.h Tue Nov 03 13:21:03 2015 +0000 +++ b/ble/BLEInstanceBase.h Tue Nov 03 13:21:03 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;