6100 ADCCP Programming Manual

Application Tasks
Writing Applications that Use ADCCP
4–4 069225 Tandem Computers Incorporated
DEVICEINFO Procedure
A call to the DEVICEINFO procedure obtains the configured device type and
maximum frame size of the specified line.
CALL DEVICEINFO (
file-name
!i
,
device-type
!o
,
maximum-frame-size
)
!o
file-name
input
INT:ref:12
is an array containing the name of the communications line whose characteristics
are to be returned. Any form of 12-word internal format file name is permitted.
device-type
output
INT:ref:1
returns the device type of the communications line specified by f
ile-name
in the
form:
.<4:9> = Device Type
.<10:15> = Device Subtype
For an ADDCP line, the device type is be 51, and the subdevice type is 0.
maximum-frame-size
output
INT:ref:1
is the name of a one-word integer variable into which the ADCCP protocol
module places the configured maximum frame size. The maximum frame size is
originally set through the SYSGEN modifier MAXFRAME. It can be altered with a
SET CONFIGURATION request.