I am working with CDC and would like to reconnect automatically after disconnection and connection of USB cable.
Is there option in the configuration file or script i should use?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you can connect/disconnect the main interface from a worker script. But you can not directly detect if the USB cable is connected.
But you can for example write a worker script that disconnects the main interface if you did not receive data for a certain time and then try to connect it again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am working with CDC and would like to reconnect automatically after disconnection and connection of USB cable.
Is there option in the configuration file or script i should use?
Hi,
you can connect/disconnect the main interface from a worker script. But you can not directly detect if the USB cable is connected.
But you can for example write a worker script that disconnects the main interface if you did not receive data for a certain time and then try to connect it again.