Menu

Serial reconnection

Anonymous
2021-08-19
2021-08-19
  • Anonymous

    Anonymous - 2021-08-19

    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?

     
  • Stefan Zieker

    Stefan Zieker - 2021-08-19

    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.

     

Anonymous
Anonymous

Add attachments
Cancel