DART 200 CDPD Modem User’s Guide | 8 Application Programming |
Flow control and the new end-user
Flow control often causes problems when applications are first online. Flow control is not operational when the modem is in command mode and not interacting with the CDPD network. Since an
Since the default for this feature is Hardware Flow Control (\Q2), an attached device that does not support flow control, or a communications cable with a missing or broken RTS lead will cause a modem lockup. The modem cannot transfer data and becomes locked until it sees an RTS signal from the attached device. It remains in the locked state waiting for RTS until the modem is power cycled.
To avoid this problem check that the attached device and the modem have matching flow control settings, and that a communications cable has all the leads needed by the DART 200 present and in working order. Otherwise, set the modem for no flow control (\Q0).
Flow control in application (online) mode
The purpose of flow control is to prevent buffer overrun in both the DART 200 and the MAS. The DART 200 has a
Some MAS devices have small buffers or insufficient intelligence to support hardware or software flow control; for those cases, specify the no flow control option (\Q0). Also, avoid or detect possible buffer overruns and request retransmission of the data.
For situations not in the above categories, then hardware (\Q2) or software (\Q1) flow control can be used. However, if transferring binary
Binary data transfer is incompatible with software flow control, because in a binary data stream any byte can inadvertently have the same bit configuration as the XON or XOFF control characters. In addition to the device receiving unexpected and unwanted flow control, the data character is stripped from the data stream, causing unpredictable results.
|