[ECOS] short reads on serial port..

Dave Airlie airlied@parthus.com
Thu Oct 26 09:59:00 GMT 2000


Does eCos support short reads? .. I want to read from the serial port for
a max len of 127 bytes, but if there is nothing there I want to
block until something appears .... I suppose I want to use select. .. but
I don't want to use select :-).....

Should I use select, what does it drag in the way of extra stuff to my
build ... I don't want to have to add POSIX stuff really...

Is there another way? 

Thanks,
Dave.

-- 
      David Airlie, Software Engineer, Parthus Technologies plc.,
       Mary Rosse Centre, National Tech Park, Limerick, Ireland.
   t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com



More information about the Ecos-discuss mailing list