Paul Sokolovsky bedab235f9 stmhal/uart: If char is not received within timeout, return EAGAIN error.
Instead of return 0, which means EOF. There's no good way to detect EOF on
continuously active bus like UART, and treat timeout as just temporary
unvailability of data. .read() method of UART object will return None in
this case (instead of 0, which again measn EOF). This is fully compliant
with unix port.
2015-10-20 00:27:07 +03:00
..
2014-03-11 23:55:41 -07:00
2014-05-02 23:03:23 +01:00
2015-03-29 22:12:14 +01:00
2014-03-12 18:15:55 -07:00
2015-08-05 23:38:24 +01:00
2014-06-15 00:41:47 +01:00