-
-
Notifications
You must be signed in to change notification settings - Fork 998
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
Serial port disconnect throws a non-catchable fatal error #3
Comments
also, having a "close" event, I tried to do it like this but didn't quite work :
|
Can you verify that it still occurs now with 0.2.1 version? I do not have an arduino board but in my tests it handles this cleanly now. |
thanks for the reactivity on all the issues :) I'll test that asap. |
Closing unless further details |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
... or I don't know how to catch it.
How to reproduce : plug an arduino in at /dev/ttyACM1 , begin reading data, disconnect the arduino.
I get :
Error: ENODEV, No such device
at
var bytes_read = serialport_native.read(file_id,buffer);
The text was updated successfully, but these errors were encountered: