-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comport and unpluged USB #1
Comments
The library was written when USB was not invented, so probably - if there is a way - it would require some extra work on top of this library. Eventually it also depends on the manufacturer of the USB to serial port bridge. In my experiments with a cable like that (with a build-in converter) the disconnect was not the most critical problem. It was rather the connection itself. Eventually it was caused by an improper disconnection. I solved it by adding some timing delays (it seems to work after some delay). This said, I would be too interested in further information on this topic. |
Thank you for your answer, If you were looking for a solution, a lot of people who use comport would be grateful. |
I patched |
Looks like issue fixed more or less: https://github.com/raccoon-dev/ComPort-Library |
I have just merged the changes from raccoon-dev. Yet untested as I currently do not have a project that uses USB for ComPort emulation. @RobertZawadzki please close if this solves your issue. |
Hi, folks.
Do you have an effective way to disconnect the USB cable?
Unfortunately, all solutions from internet do not work.
Regards
Robert
The text was updated successfully, but these errors were encountered: