Open jprider63 opened 8 years ago
I had this problem too. It looked like timeout on receiving a character (although I had timeout = -1
in SerialPortSettings
). The error did not happen when the data was actively arriving through the port, only when waiting.
Switching to serial did help indeed. Thank you for the hint
I was consistently getting EOFs while using the
Handle
API to communicate with an arduino over a serial port. Switching to theSerialPort
API seems to have fixed these issues.I'm not sure how to replicate this issue without our hardware, but the EOFs were thrown in hGetLine.
I have a feeling that this may be an upstream issue, but hopefully this report helps others in the future.