User`s guide
134 DC 900-1340I
BSC Programmer’s Guide
CONNECT On line
NO CARRIERNo carrier detected (DLI_ICP_ERR_DSR_DOWN)
BUSY Line Busy (DLI_ICP_ERR_DEVICE_BUSY)
NO ANSWER No answer (DLI_ICP_ERR_NO_ANSWER)
NO DIALTONENo dial tone detected (DLI_ICP_ERR_NO_DIALTONE)
ERROR Invalid command or configuration (DLI_ICP_ERR_BAD_MODEM_RESP)
5.4.1.14 BSC 2780/3780 Modem Configuration Command
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_MODEM_CFG to send a BSC 2780/3780 Modem Configuration command. The
iBufLen parameter can be up to 256 bytes. The data content for each modem type is
defined later in this section.
The BSC 2780/3780 software sends the modem configuration confirmation response
with the
dlRead pOptArgs.usProtCommand field set to DLI_PROT_MODEM_CFG to the client.
The buffer pointed to by the
pBuf parameter contains the string of responses from the
modem. The significant difference from the Autodial Start command is that DTR is
raised only long enough to send the modem configuration string and to get any
response from the modem. The manner in which the Modem Configuration command
is sent depends on the setting of the modem type option (Section 6.29 on page 182).
The Modem Configuration command supports SADL (synchronous autodial lan-
guage), V.25bis (byte synchronous), and Hayes AT-compatible modems.
An unsuccessful Modem Configuration command can return one of the following error
codes in the
dlRead pOptArgs.iICPStatus field (see Appendix D for error handling):
DLI_ICP_ERR_BAD_MODE
The function request is not available for the requested
access mode.
DLI_ICP_ERR_LINK_ACTIVE
The link is already started.