Open MervePlt opened 1 year ago
Same here, have you found a solution?
sp_nonblocking_read
may return negtive value on error. This library assume that read operation is always success. If the return value is negative, asTypedList
may throw that exception.
You can use sp_last_error_message
to check what error occured.
sp_nonblocking_read
may return negtive value on error. This library assume that read operation is always success. If the return value is negative,asTypedList
may throw that exception.You can use
sp_last_error_message
to check what error occured.
How do I call sp_last_error_message
when I'm using flutter_libserialport and not libserialport?
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
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)