This is a sample project using BLE. A smartphone sends 0x01 or '1' to turn on the led on mbed. Meanwhile, every 5s, mbed board tries to send 3 data bytes to the smartphone.

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Revision:
0:569b2bd966d8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BLE_API.lib	Thu Feb 23 14:08:03 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#65474dc93927