Lantronix MPS100 EPS Reference Manual - Page 53
Software Flow Control XON/XOFF, 1.2.2.3, Setting up Flow Control
View all Lantronix MPS100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 53 highlights
Ports Port Commands 5.1.2.2.2 Software Flow Control (XON/XOFF) XON/XOFF controls the flow of data by sending particular characters through the data stream. The characters sent to signify the ability or inability to accept data are Ctrl-Q (XON) and Ctrl-S (XOFF). To enable XON/XOFF flow control, enter the following command: Figure 5-5: Enabling Software Flow Control Local> DEFINE PORTS ALL FLOW CONTROL XON Applications that use the Ctrl-Q and Ctrl-S characters (for example, certain text editors) will conflict with XON/XOFF flow control and therefore an alternative method of flow control should be used. If a user enters a Ctrl-Q or Ctrl-S, these characters will be interpreted as flow control characters and removed from the data stream. In addition, protocols that require an 8-bit clean data path (such as SLIP and UUCP) cannot use XON/XOFF flow control. Note: An 8-bit clean data path is one that data passes through completely unchanged. 5.1.2.2.3 Setting up Flow Control To configure flow control on a port, complete the following steps. 1 Set the Appropriate Line/Serial Speeds Consider the line speed and the serial speed of the modem; if data is to be compressed, the serial speed should be slightly higher than the line speed. When connecting a terminal to the port, ensure that the speed of the terminal matches the port speed. 2 Disable Autobaud To ensure that the set speeds are always used, disable any automatic speed selection or autobaud options on your modem. In addition, disable Autobaud on the Server port you're configuring. Use the Set/Define Port Autobaud command. Figure 5-6: Disabling Autobaud Local>> DEFINE PORT 2 AUTOBAUD DISABLED 3 Determine the Appropriate Flow Control Method Refer to Flow Control on page 5-2 for a description of the different flow control methods. Choose the method that's most compatible with the serial device and applications you'll be using. 4 Configure Flow Control Configure your serial device to use the selected method of flow control. Refer tothe device's documentation for instructions. Configure flow control on the Server using the Set/Define Port Flow Control command. Figure 5-7 displays an example. Figure 5-7: Configuring RTS/CTS Flow Control Local>> DEFINE PORT 2 FLOW CONTROL CTS 5-3