CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009

    Read RXD line in RS232


    I use WriteFile etc. function to access COM port in PC. I can read DSR,CTS linie when I use GetCommModemStatus() but not RxD. Is posible to read state RxD linie in this port?


  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: Read RXD line in RS232

    The GetCommModemStatus function retrieves modem control-register values.
    But RXD (Receive Data) is
    The data signal to the PC. What the user sees from the remote host.
    You have to use ::ReadFile API to read this data. See Serial Communications in Win32
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.