
26 Feb
2009
26 Feb
'09
11:51 p.m.
On 2009 Feb 26, at 23:45, Galchin, Vasili wrote:
I have forgotten about RS232 protocol. Can I just reads and writes from the RS232 device from an application to handle data? Or do I need to handle RS232 protocol events in the application?
Usually the OS handles protocol events, although you have to tell it what kind of events matter (carrier? does it use hardware flow control, ^S/^Q, or ETX/ACK?) I suggest heading to MSDN and digging up documentation on how serial devices work on Windows. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH