BLE testing connecting

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_HeartRate by Bluetooth Low Energy

Revision:
74:c9d58e7847c4
Parent:
73:49b6090478e2
Child:
75:8128a06c0a21
--- a/main.cpp	Mon Nov 02 10:11:26 2015 +0000
+++ b/main.cpp	Tue Nov 03 13:23:36 2015 +0000
@@ -46,8 +46,11 @@
     triggerSensorPolling = true;
 }
 
-void bleInitComplete(BLE &ble, ble_error_t error)
+void bleInitComplete(BLE::InitializationCompleteCallbackContext *params)
 {
+    BLE &ble          = params->ble;
+    ble_error_t error = params->error;
+
     if (error != BLE_ERROR_NONE) {
         return;
     }