You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To set timeout to 2 seconds. I.e. set milliseconds but divided by 100. Sorry, don't have time to look more into it right now, using the above workaround at the moment
The text was updated successfully, but these errors were encountered:
An update on this. Using current go-serial v1.6.2 (also master), a timeout is not respected at all (!) even when using the regular Read(). #118 does fix this.
Regarding my comment #141 (comment) where Read() worked, but when Peek()ing a conn wrapped in a bufio Reader there was a need to divide the timeout by 100 to get the correct length -- I don't know if this is still the case.
I currently (on v1.4.0) have to do:
To set timeout to 2 seconds. I.e. set milliseconds but divided by 100. Sorry, don't have time to look more into it right now, using the above workaround at the moment
The text was updated successfully, but these errors were encountered: