How to get status of RTS, DTR & CTS lines of serial port

How to get status of RTS, DTR & CTS lines of serial port

Post by zing_for » Wed, 28 Jun 2006 19:09:12



Hi all

I need to look the status of RTS, CTS, DTR lines of comport.
I tried "IOCTL_SERIAL_GET_RSTDTR" flag but as a new to VC coding
I doesn't know how to use this type of functions. I read MSDN and other
info on Internet but failed to do the same.

Can anybody explain me how to get the status of RTS CTS pins of comport
through VC++ code

Any help in this regard is accepted

thanx
 
 
 

1. How to get status of RTS, DTR & CTS lines of serial port

2. sending data using TXD, RTS, DTR line of the serial rs232 port

DTE ports (like the built-in COM port) have three drivers: TX, RTS,
and DTR. It sounds like you're not using the TX in a normal way, so
perhaps you can manually drive the TX line through the break state?
Set break will drive a space ('0', or positive voltage) on the line,
and clear break will drive a mark ('1', or negative voltage).

3. "High" DTR and RTS serial port lines

4. Serial Port: Flow Control with CTS/RTS

5. serial port DTR and RTS

6. Serial Port: setting RTS, DTR?

7. Monitoring DTR RTS CTS

8. Direct control of DTR CTS or RTS

9. Firing pins using serial lines RTS DTR

10. RTS/CTS and DTR/DTS control

11. On RTS-CTS & DTR-DSR pairs, which and why?

12. [PATCH] serial: set RTS and DTR if flow is 'r'

13. [PATCH] serial: set RTS and DTR if flow is 'r' --- resend

14. serial monitoring with RTS/CTS

15. [PATCH] Fix CTS/RTS flow control in serial console