Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 71:469dbde1a238
- Parent:
- 67:b2d2dee347c0
- Child:
- 72:99c283dfe28d
--- 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
}
