6100 ADCCP Programming Manual
(83) DISCONNECT
Requests and Responses
069225 Tandem Computers Incorporated 6–49
(83) DISCONNECT The DISCONNECT request and response are used to clear an X.21 connection. This
request and response work only with the ADCCP/X21 protocol module.
Request The DISCONNECT request has two uses. Depending on the value you place in the
request modifier, your request indicates the type of disconnect:
Active An active disconnect is a request to clear the connection. ADCCP/X21
cancels all pending connect and passive disconnect requests, and signals
clear to the DCE.
Passive A passive disconnect is a request to monitor for disconnects. ADCCP/X21
does not complete a passive disconnect request unless: (1) the DCE signals
clear, (2) ADCCP/X21 has detected a DCE error and cleared the connection,
or (3) the passive disconnect was canceled by a STOP OPERATION request
or a new DISCONNECT request.
If you request ADCCP/X21 to deliver the network charges in the DISCONNECT
response, ADCCP/X21 waits for the charges from the DCE after the call is cleared.
The value in the TIMELIMIT T7 configuration parameter determines the amount of
time ADCCP/X21 waits.
You can cancel a passive disconnect request by issuing an active disconnect request to
the same line.
The request buffer format is:
Function := 83
Modifier := 1 to indicate passive disconnect
2 to indicate active disconnect
Request ID := A unique value from 1 through 32767,
determined by the application
Text Out := 8
Text In := 10 + expected length of Netinfo sequence
Text := Reserved for ADCCP :Eight bytes
Set these bytes to 0.