set Device Info
Sets the device information in order to enable connection
If the device is connected and a new device info is set, it will disconnect the previous device and will rtu to connect the new device
Parameters
device Id
the id or address of the device, or null to clear
name
the device name (optional), or null to clear