
i.e. protocol events seem to "leak" into an application => yuck
On Thu, Feb 26, 2009 at 10:57 PM, Galchin, Vasili
I already looked at MSDN examples and am not seriously enccouraged ;^(
Vasili
On Thu, Feb 26, 2009 at 10:51 PM, Brandon S. Allbery KF8NH < allbery@ece.cmu.edu> wrote:
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