-
Notifications
You must be signed in to change notification settings - Fork 96
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
Invalid argument(s): length must be in the range [0, 4611..] #71
Comments
Same here, have you found a solution? |
You can use |
How do I call |
Could anyone check this one as 0.4.0 is available on pub.dev? |
@lucafabbri Am currently on 0.4.0 but am facing the same issue |
Has anyone found something about this issue? I have the same issue but not at the same place. Because for me, it happens only when I manually turn it OFF and ON. The only thing I know is that, just disconnecting the port gets an "errno = 5" (and can sometimes crash the app). Yet reconnection automatically gets "errno = 0". But to get that i just printed ("SerialPort.lastError") and the Unhandled exception wasn't there anymore. Just the errors listed before. And i just don't understand why at some point the errno = 5 crashes my app. I'm in 0.4.0. |
I am also on version 0.4.0 and facing the same problem, any solution to this? |
It does not show this error all the time, but when it does, the communication can not be established by this port again. But, turning it off and on manually fixes the problem. However, we can not count that as a constant solution for this problem. Is there any other way we can follow to solve it automatically? (without turn the port on and off MANUALLY)
The text was updated successfully, but these errors were encountered: