[ECOS] Non-blocking mode read from serial port

Jonathan Larmour jifl@eCosCentric.com
Mon Feb 23 18:06:00 GMT 2004


Ali Rodgo wrote:
> Ok thanks again
> 
>  I have changed the VTIME to "0" and VMIN to "1" to read only one character from the /dev/ser1 but i can only read 128 or 0, something wrong?The option O_NONBLOCKING is on eCos not supported?

VMIN > 0 doesn't work wonderfully either:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=91710

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
 >>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list