X25AM Programming Manual

Procedures Summary for X25AM
X25AM Programming Manual527201-001
A-14
SETPARAM 8
SETPARAM 8
Get the protocol identifier.
Set the protocol identifier.
The protocol identifier refers to the protocol that you set. X25AM does not save the
incoming (remote) protocol ID.
SETPARAM 9
Get the reason for call clearing (circuit disconnection).
Table A-5 lists the call clearing reason codes and descriptions reported by
SETPARAM 9.
function = 7
cug^id
= two-digit or four-digit number depending on
CUGTYPE
length = 2 or 4 bytes
CALL SETPARAM (filenum, function,,, protocol^ID,
length)
CALL SETPARAM (filenum, function, protocol^ID, length)
filenum
= file number
function = 8
protocol^ID
= protocol identifier
length = 1, 2, 3, or 4 bytes
CALL SETPARAM (filenum, function,,, reason, length)
filenum = file number
function = 9
cug^id
= 4 words. For the reasons for circuit
disconnection, see Table A-5
.
length = 8-byte length of reason
Table A-5. Reasons for Circuit Disconnection (SETPARAM 9) (page 1 of 2)
Integer Reason for Circuit Disconnection
Integer <0>
0 Never connected.
1 Still connected or connecting.
2 CONTROL 12 issued.
3 Subdevice file closed.