X25AM Programming Manual

Procedures Summary for X25AM
X25AM Programming Manual527201-001
A-9
SETMODE 38
When the SETMODE operation completes:
SETMODE 38
Set the special line termination character. SETMODE 38 is processed immediately.
SETMODE 38 is accepted but not used when the terminal is in page mode. It becomes
effective when the terminal mode is changed to conversation mode. When scanning
packets from the PAD ITI only examines the final character in the final packet to
determine the line termination character.
Table A-2 on page A-10 lists the line termination choices for SETMODE 38.
1 = Negotiate throughput class.
param2.<8:11>
= Incoming throughput class.
param2.<12:15>
= Outgoing throughput class.
last params[0] .<3>
0 = The last call accepted for the subdevice did not
request reverse charges.
1 = The last call accepted for the subdevice did
request reverse charges.
.<4>
0 = The last call accepted for the subdevice was
not a priority call.
1 = The last call accepted for the subdevice was a
priority call.
CALL SETMODE (filenum, function, param1, param2, last-
param)
filenum = file number
function = 38
param1 0 = Special line-termination mode. param2 is the new
character. It is not counted in the length of a READ.
1 = Special line-termination mode. param2 is the new
character. It is counted in the length of a READ.
2 = Resets special line-termination mode to the
configured value. param2 must be present but is not
used.
param2 = New-line termination character if param1 is 1 or 2.
last-param >0 If present, returns the current mode in last-
params[0] and the current line-termination character
in last-params[1]. Table A-2 on page A-10 lists
acceptable line termination characters.