serial port CTS signal

Started by
2 comments, last by SillyCow 15 years ago
I am interfacing with a device through a serial port. I would like to read the state of the CTS flag (not just get events on change). I am using vc++, and the port was opened with CreateFile. I am using EscapeCommFunction to set pins (RTS,DTR,etc...) Does anyone know of a function for getting the state of the CTS pin?

My Oculus Rift Game: RaiderV

My Android VR games: Time-Rider& Dozer Driver

My browser game: Vitrage - A game of stained glass

My android games : Enemies of the Crown & Killer Bees

Advertisement
Go here.
Quote:Original post by Red Ant
Go here.


Thanks for your help, but this is no good. It only informs you of change events, not the value itself.

My Oculus Rift Game: RaiderV

My Android VR games: Time-Rider& Dozer Driver

My browser game: Vitrage - A game of stained glass

My android games : Enemies of the Crown & Killer Bees

Found it:
GetCommModemStatus
Lets you check the values of the input pins

My Oculus Rift Game: RaiderV

My Android VR games: Time-Rider& Dozer Driver

My browser game: Vitrage - A game of stained glass

My android games : Enemies of the Crown & Killer Bees

This topic is closed to new replies.

Advertisement