http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#65474dc93927