I'm trying to determine the difference when I open serial port with hardware handshake and none handshake.
It seems that in both cases I have to control RTS/CTS
signals (just tested it with one COM device).
So what the difference between opening serial port with hardware handshake and without handshaking?
From my previous understanding, when we work without handshaking
, we don't care about RTS/CTS
and DTR/DSR
signals. Just send and receive data whenever we want. Was I wrong?
One more question. Can we work without handshaking
in full duplex
mode only?
RTS/CTS
signals: - Should I set/checkRTS/CTS
signals if I open serial port withoutflow control
? Should I do these things manually if I open serial port withhardware flow control
? - Can I setRTS to High
after opening the port and don't touch it after that? Is it good practice? - In half duplex mode how can I changeCTS
signal to prevent data receiving? It seems I can setRTS
andDTR
signals and just checkCTS
andDSR
signals. – Schoenberg