public final void connect(@NonNull final Context context, @NonNull final ExtendedBluetoothDevice device, final boolean connectToNetwork) {
        mNrfMeshRepository.connect(context, device, connectToNetwork);
    }
Connect to peripheral

@param context          Context
@param device           {@link ExtendedBluetoothDevice} device
@param connectToNetwork True if connecting to an unprovisioned node or proxy node
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/BaseViewModel.java