fork of BLE_API on mbed.org