6/25/2018

Handshake Serial

Handshake Serial Average ratng: 4,3/5 2508votes
Handshake SerialHandshake Serial

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. One more question. Can we work without handshaking in full duplex mode only?

There are a few important things you need to know about handshake lines. Learn about RS232 handshaking from industry leader Stratus Engineering. How to use the RS232 COM port to interface instruments to the PC. Hardware and software handshaking, Xon, Xoff and flow control explained. In computing, a serial port is a serial communication interface through which information transfers in or out one bit at a time. If no handshaking is employed. The SERIAL_HANDFLOW structure specifies the handshake and flow control settings for a serial port.

As you probably know, the issue is 'flow control'. Celtx Script Mac on this page. Like the Clash song 'Should I stay or should I go?'

RTS/CTS is hardware control. XON/XOFF is software control. Otherwise, 'just keep going'. This link might explain further: I suspect that when you were asking about 'handshaking' with respect to 'duplex', perhaps you meant this: In older versions of the specification, RS-232's use of the RTS and CTS lines is asymmetric: The DTE asserts RTS to indicate a desire to transmit to the DCE, and the DCE asserts CTS in response to grant permission.

This allows for half-duplex modems that disable their transmitters when not required, and must transmit a synchronization preamble to the receiver when they are re-enabled. 'Hope that helps! Thanks @paulsm4. But I'm trying to find the difference in terms of operating by RTS/CTS signals: - Should I set/check RTS/CTS signals if I open serial port without flow control? Should I do these things manually if I open serial port with hardware flow control? - Can I set RTS to High after opening the port and don't touch it after that? Is it good practice?

- In half duplex mode how can I change CTS signal to prevent data receiving? It seems I can set RTS and DTR signals and just check CTS and DSR signals.

– Sep 28 '11 at 22:29.