DV \E
Dependencies: BLE_API EthernetInterface mbed nRF51822
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 71:469dbde1a238
- Parent:
- 67:b2d2dee347c0
diff -r 0a19690e8d23 -r 469dbde1a238 main.cpp --- a/main.cpp Tue Aug 11 21:58:13 2015 +0000 +++ b/main.cpp Tue Sep 29 09:49:50 2015 +0000 @@ -28,7 +28,7 @@ GattService::UUID_DEVICE_INFORMATION_SERVICE}; static volatile bool triggerSensorPolling = false; -void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) +void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params) { ble.gap().startAdvertising(); // restart advertising }