|
Serial port read/readcond problem
|
05/20/2014 6:14 AM
post110394
|
Serial port read/readcond problem
Hello,
I am trying to read/write data from/to Rs232 port of Beagleboard-Xm. I want to use readcond function as it provides
timeout mechanism but it blocks and does not work properly. In the manual, It is said that the data should be in RAW
mode. I'm trying to set raw mode parameters (by using cfmakeraw, some code pieces provided in the forum etc.) but I
could not, program still blocks on the readcond().
I know that select + read is also an option but it doesn't work either.
Could you please give some advise?
Thank you,
Onder
|
|
|