-
Notifications
You must be signed in to change notification settings - Fork 74
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
Ideal way to terminate gracefully #180
Comments
Disconnecting established connections and calling |
Thanks, one of the reasons for asking is, after terminating the script, when I scan for devices I do see the device name in the list of devices found. |
I just checked, and indeed, the |
perfect thanks ! I had included reset() , as the power_on() method calls this first . Here is what I do for graceful exit, now. |
With the scripts running , what would be a graceful way to terminate and exit ?
Here is what i am doing -
Any thing else I may be missing. Didnt find a suitable example for the exit sequence yet , but any refrence to read up will help.
BTW irrespective of what reason i give for the disconnect device , the disconnect reason is always 22 .
The text was updated successfully, but these errors were encountered: