This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Writing to Serial Port


Hi all

I am busy writing an app that needs to regularly write to the serial
port. The response time is fairly critical. I ahve read the serial
programming HOWTO but that deals mainly with reading, which I have
managed to get working fine. The problem I am having is that write()
does not seem to be immediate and seems to work sometimes. i need to
force the program to not cache writes to the serial port but output them
directly. 

If someone could point me in the direction of some FM's (as in RTFM) I
would really appreciate it. Some pointers would also come in handy.

TIA
J



-- 
*****************************************************************************
Jeremy Coppin
Firmware Developer
jec@cellpt.co.za
+27 11 254 5100
*****************************************************************************
CellPoint Systems (tm) SA (Pty) LTD   ---   GSM Technology for
Positioning and 
http://www.cellpt.co.za                    Telematics
*****************************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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