Home  >  Support  >  Support Forum  >  Is there a way to disable software flow control on the ConnectPort X4 and X4-H?
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.

Is there a way to disable software flow control on the ConnectPort X4 and X4-H?

0 votes
I am using the SerialOpen() routine in digi_serial.py and no matter what I pass it for parameters the gateway always has software flow control enabled. If I select N for none or H for hardware, the web UI shows XON XOFF and shuts down when a XOFF character (13h) is received. Is there any way to disable this?
asked Jul 11, 2013 in NDS-based Gateways by bgardels New to the Community (2 points)

Please log in or register to answer this question.

2 Answers

0 votes
Hi,

RTS and CTS flow control can be disabled using D6 and D7 commands.
answered Jul 12, 2013 by 16ksa23 Veteran of the Digi Community (376 points)
Thanks, but RTS and CTS is "hardware" flow control, the gateway allows me to turn that on or off, the gateway does NOT allow me to turn "software" flow control off, it's always on and I need it off.
0 votes
Here is the answer for your question-
The character 0x13 (ControlS or DC3 or XOFF) when sent across the serial link tells the other side to stop sending. The character 0x11 (Control-Q or DC1 or XON) tells the other side to resume sending. When software flow control is in use, it follows that these characters cannot be sent as part of the data stream.

When sending API packets it isn’t possible to avoid the need to include the software control characters. For instance, checksums and addresses can contain any values. Therefore the API escape mode (AP=2) exists. In this mode the character 0x7d is defined as the escape character. When a host wants to transmit 0x11 or 0x13 it transmits the escape character first, and then the desired character XORed with 0x20.
answered Sep 28, 2013 by 16ksa23 Veteran of the Digi Community (376 points)
Contact a Digi expert and get started today! CONTACT US
...