6100 MPS-B Programming Manual

WRITING APPLICATIONS THAT USE 6100 MPS-B
Disconnect Modem
Disconnect Modem
This form of the CONTROL request is used to explicitly disconnect
the line. It drops Data Terminal Ready (DTR) and waits for Data
Set Ready (DSR) to drop. The wait interval for DSR to drop is
determined by the connect timeout line configuration parameter
MPSBCONNWCTTIMEOUT (the value of MPSBCONNECTTIMEOUT must be
greater than zero).
The request buffer format is:
Function := 67
Modifier := 18
Request ID := A unique value from 1 to 32767,
application-dependent
Text Out := Doesn’t matter
Text In := Doesn’t matter
Text := Null
The response buffer format is:
Function := 67
Status := 0 if the operation completed successfully, or
140 if DSR did not drop within time interval
Request ID := The same as in the request
Text Out := 0
Text In := 0, or
2 if status detail code is present in Text field
Text := Null, or
Byte 0 = status detail code; Byte 1 = 0
3-22