User`s guide

5: BSC 2780/3780 DLI Functions
DC 900-1340I 141
5.4.2.2 Request Configuration Report
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_LINK_CFG to request the current configuration option settings for a link.
The
dlRead configuration report response (the pOptArgs.usProtCommand field is set to
DLI_PROT_GET_LINK_CFG by the DLI) consists of a sequence of 16-bit word pairs containing
the option number in the first word and the option setting in the second. The report
format is identical to that used by the
dlWrite Configure Link command (Figure 5–2 on
page 120).
5.4.2.3 Request Statistics Report
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_STATISTICS_REPORT to request link statistics. The BSC 2780/3780 software
maintains a set of link statistics. The report consists of 12 words (24 bytes) of statistics.
The format of the dlRead statistics report response (the pOptArgs.usProtCommand field is
set to
DLI_PROT_GET_STATISTICS_REPORT by the DLI) is shown in Ta ble 5 –9 .
Table 5–9: BSC 2780/3780 Statistics Report Definition
Wo rd Statistic
1 Block check errors
2 Parity errors
3 Receive overrun errors
4 Buffer errors
5 Messages sent
6 Messages received
7 NAKs sent
8 NAKs received
9 Buffer errors (on send)
10 Reserved
11 Transmission blocks sent
12 Transmission blocks re ceived