STM32F446RE "Hello world program" Based on Nucleo-X-IDB04A1
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of Hello_BLE 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
}
