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 Bluetooth Low Energy

Revision:
874:0607a58418ce
Parent:
861:2afa79e3ed0a
Child:
879:4de7fb4da6ca
diff -r 2e1a7bcf6590 -r 0607a58418ce ble/BLEInstanceBase.h
--- a/ble/BLEInstanceBase.h	Tue Nov 03 12:51:24 2015 +0000
+++ b/ble/BLEInstanceBase.h	Tue Nov 03 12:51:24 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;