-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reconnect after connection loss #558
Comments
belm0
added a commit
to belm0/pyserial
that referenced
this issue
May 15, 2022
* --reconnect option will silently retry (on the initially connected port) * exit with code 1 when there is an error Fixes pyserial#558
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on a project with multiple microcontrollers that communicate with a PC over Serial. I want my script to automatically recognize when a connection is lost to one of the microcontrollers and try to reconnect to the controller. I'd be thankful if you can give me some suggestions on how to best implement this functionality.
The text was updated successfully, but these errors were encountered: