-
Notifications
You must be signed in to change notification settings - Fork 54
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
Notified when device is disconnected? #48
Comments
When I looked at this
I wondered whether someone had intended to someday support An advantage of allowing new, different listeners to be added is that the The |
I have been experimenting some more with adding/removing arbitrary
But I also think that, better than the above sub-classing workaround, it would be convenient to have these |
In my application I would like to get notified if the device gets disconnected.
The underlying python-can package calls a listener's on_error() method when a error occurs on the receive thread. I wonder about adding an on_error() method override to the MessageListener class and allow users of python-can-j1939 to provide an on_error() override.
Thoughts?
The text was updated successfully, but these errors were encountered: