Sample BLE thermometer profile for nRF51-DK with sensing from LM35

Dependencies:   BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1

Fork of BLE_Thermometer by Bluetooth Low Energy

Revision:
14:677ef88025b8
Parent:
13:30f6f65629b5
Child:
15:57860d1cd14d
--- a/main.cpp	Sat Jun 20 23:46:17 2015 +0000
+++ b/main.cpp	Tue Sep 29 12:10:38 2015 +0000
@@ -26,7 +26,7 @@
 static volatile bool  triggerSensorPolling = false;
 
 /* Restart Advertising on disconnection*/
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
 {
     ble.gap().startAdvertising();
 }