private void connectToProxy(final ExtendedBluetoothDevice device) {
        initIsConnectedLiveData(true);
        mConnectionState.postValue("Connecting....");
        mBleMeshManager.connect(device.getDevice()).retry(3, 200).enqueue();
    }
Connect to peripheral

@param device bluetooth device
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/NrfMeshRepository.java