![](/media/cache/profiles/e8b4e08f1da059fda45958e885874e07.jpg.50x50_q85.png)
Sample BLE thermometer profile for nRF51-DK with sensing from LM35
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_Thermometer by
Diff: main.cpp
- Revision:
- 14:677ef88025b8
- Parent:
- 13:30f6f65629b5
- Child:
- 15:57860d1cd14d
diff -r 30f6f65629b5 -r 677ef88025b8 main.cpp --- 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(); }