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 X_NUCLEO_IDB0XA1 mbed
Fork of Program3_BLEHeartRate by
Revision 2:bc0c0d442a24, committed 2015-09-29
- Comitter:
- apalmieri
- Date:
- Tue Sep 29 09:23:04 2015 +0000
- Parent:
- 1:11cd427bbc8b
- Child:
- 3:a51ca6313ad2
- Commit message:
- Update arguments for Disconnection callback
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Sep 29 09:11:55 2015 +0000
+++ b/main.cpp Tue Sep 29 09:23:04 2015 +0000
@@ -31,7 +31,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
}
