User`s guide

3: FMP DLI Functions
DC 900-1339H 55
3.4.2.4 Request Status Report
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_STATUS_REPORT to request the current link status. The status report
returned by
dlRead is a snapshot of the link’s hardware and software condition. The
dlRead status report response (the pOptArgs.usProtCommand field is set to
DLI_PROT_GET_STATUS_REPORT by the DLI) is an eleven-word report containing the cur-
rent link status as shown in Table 3–7.
Table 3–7: Status Report Definition
Word Description Value Setting
1 Link status 0 off
1on
2 starting
2 Current operation mode 0 idle
1 DSR off
3 DTR 0 off
1on
4 DCD 0 off
1on
5RTS 0 off
1on
6CTS 0 off
1on
7Receiver 0 off
1on
8 Transmitter 0 off
1on
9 Reserved
10 Reserved
11 DSR 0 off
1on