6100 BSC Programming Manual
Writing Applications that Use 6100 BSC
DISCONNECT. The CONTROL DISCONNECT request explicitly
disconnects the line. If the line is leased, the request does
not alter any signals; it completes right away. If the line
is switched, the request sends a DLE EOT sequence to the
other station, then drops DTR, and optionally waits for DSR.
If it waits, the value of BSCDISCONNECTTO (a line parameter)
determines the interval.
This request makes sense when the line is in any state except
DISCONNECTED. When the request completes, the line is in
DISCONNECTED state. If you never issue CONTROL DISCONNECT, BSC
disconnects the line after the last user closes it.
The request buffer format is:
Function := 67
Modifier := 1 means drop DTR and wait for DSR.
3 means drop DTR only.
If the line is leased, use 3 as the modifier.
Request ID := A unique value from 1 to 32767,
application-determined
Text Out := Doesn't matter
Text In := Doesn't matter
Text := None
The response buffer format is:
Response := 67
Status := 0 if the operation succeeded, otherwise
a code for the error that occurred
Request ID := The same as in the request
Detail := A status detail code, containing more
description of request status
Text In := 0
Text := None
3-32