SNA Device Driver Interface to Modem Status

There are three interfaces from which modem status can be gathered:

Whenever one of the first two interfaces indicates a modem line is high, the corresponding light in the display is lit. However, the transmit and receive IOCTL calls cannot provide a definitive statement as to whether the card is receiving data, only that it is ready to receive data. To work around this limitation and to have the modem lights give a reasonable semblance of ordinary data throughput, the following mechanism is recommended.

The receive and transmit lights are simulated by counters. Each link service tracks the number of frames received and transmitted. The display application interpolates the flashing of the receive and transmit lights from these counters.

The remainder of this section describes the changes that must be made to the link service for supporting the modem status interface and the interface provided to the display application. Microsoft® SNA Server comes with an application that displays the modem status.