This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

short reads on serial port..



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]