I've been reading through the documentation online looking for a way to set up 
my serial port (during certain operations) to return from a read when any 
activity is seen on the line.  I tried playing around with c_cc options VMIN 
and VTIME but realized that wasn't really what I needed to do.  I see that I 
can control the number of data bits to a little as 6 with the c_cflag of CS5 
but what I really need is to read as little as 1 bit.

If there is not way to do this, is there a way to reduce the VTIME to something 
less than 1/10 of a second, like more in the order of Milliseconds?  I can't 
use 0 for VTIME because there are some cases where there is nothing to read and 
VTIME=0 will cause the read to block.

Any ideas or help appreciated?

Regards,
Stacy
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to