Remote devices management. Connects to the remote device.

 

Parameters:

 

dev - device to which you need to connect

 

bool persistent - true if it’s required to restore connection in case of failure

 

Return:

 

errno error code