If a general failure error is not returned, then the actions described below are taken by the physical device driver. Notice that all reserved bit fields that are specified as Set to 0 must be set to zero on entry to the physical device driver, or a general failure error results. The same applies to the NULL Data Packet pointer.

The general DCB parameter access functions, ASYNC_SETDCBINFO and ASYNC_GETDCBINFO are used:

To maintain upward compatibility, the application should call ASYNC_GETDCBINFO before Function 53h is used. This allows the reserved bits to be set correctly in a future release of the physical device driver. By doing the return first, the application maintains the state of the physical device driver for a mode that the application is not aware of.

Note 1

Control of DTR and RTS. The physical device driver allows the caller to automatically control the setting of Data Terminal Ready (DTR) and Request To Send (RTS) through the RTS Control mode and the DTR Control mode settings of ASYNC_SETDCBINFO. The application can also request manual control over these modem control signals. The ways in which these signals can be controlled are as follows:

Set RTS Control Mode to Toggling on Transmit: If the Flags2 bits 7, 6 are set to 1, then the physical device driver is in the automatic control mode of RTS. When the physical device driver is initialized, the RTS Control mode is enabled; therefore, initially the device driver is not in the automatic control mode of RTS. Notice that this mode of operation of the physical device driver should be enabled only when the system is attached to devices that do not present data to the system receive hardware when RTS is on. In this mode, the device driver: