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/X_NUCLEO_IDB0XA1.lib	Thu Feb 23 14:08:03 2017 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_IDB0XA1/#fa98703ece8e