tty serial reconnetion

asked 2017-04-12 15:53:16 -0500

I have a usb device that im connecting to with serial connection ttyUSB0 on port 115200. currently im using PUTTY to establish this connection.

The problem is that my usage requires to toggle the power(for 1 sec) of that device and the ttyUSB0 is getting lost(like i've unplugged the device). While toggling the power, the PUTTY disconnects automatically and I need to re-connect allover again.

I'm looking for solution that can keep the connection alive(or keep trying to reconnect) for few seconds(or more).

Thanks :)

edit retag flag offensive close merge delete