2010-08-02 23:46:18 Issue in Bf527-UART Nonblocking read()
Moses K (UNITED STATES)
For BF527-UART, i am using termios to write() and read() the /dev/ttyBF0 port. The read() is blocked state. The following test cases are i have tested.
1. passing O_NONBLOCK or O_NDELAY or both in open() call flags.
2. Setting VMIN=0 and VTIME=0 or VMIN=0 or VTIME=0
3. Setting VTIME=10 for timeout. Time out also not happening.
For the above test cases, read() is blocked only.
I need non-blocking mode to read data.
Please provide some pointers/solutions on solving this issue.
2010-08-02 23:49:53 Re: Issue in Bf527-UART Nonblocking read()
Mike Frysinger (UNITED STATES)