added BLE functionalities