serialport icon indicating copy to clipboard operation
serialport copied to clipboard

EOFs with Handle API

Open jprider63 opened this issue 8 years ago • 1 comments

I was consistently getting EOFs while using the Handle API to communicate with an arduino over a serial port. Switching to the SerialPort 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.

jprider63 avatar Jul 01 '16 15:07 jprider63

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

rudchenkos avatar Jan 26 '19 11:01 rudchenkos