Clone of mbed BLE-API