Hello World program for this deprecated board, based on older versions of BLE_API (rev1130), X_NUCLEO_IDB0XA1 (rev212) and mbed (rev114) libraries.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
Diff: main.cpp
- Revision:
- 2:bc0c0d442a24
- Parent:
- 1:11cd427bbc8b
- Child:
- 3:a51ca6313ad2
diff -r 11cd427bbc8b -r bc0c0d442a24 main.cpp
--- 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
}

X-NUCLEO-IDB04A1 Bluetooth Low Energy