Rs-232 Flow Control

0 votes
asked Aug 27, 2018 by rebex4Now (120 points)

I noticed that the constructor
SerialPortChannel(comPort, baudRate, parity, dataBits, stopBits)

takes everything needed except flow control.

Is there anyway to set that to XON/XOFF for example? or is flow control default is "none"?

Thanks

1 Answer

0 votes
answered Aug 28, 2018 by Lukas Matyska (48,430 points)

Rebex's SerialPortChannel class uses system's SerialPort class, which doesn't offer this setting in constructor either.

You can set this after construction using the SerialPortChannel.Port.Handshake property.

...