6100 ADCCP Programming Manual
Format of Requests and Responses
Writing Applications that Use ADCCP
069225 Tandem Computers Incorporated 4–27
Text in A word that contains the length, in bytes, of the text field in this
response. The text in field response should match the one in the request.
Text A string that contains additional data. For example, in the response to a
FETCH CONFIGURATION request, this field contains the current values
of the line-configuration options.
Definitions of Fields in
Asynchronous Responses
In the case of an asynchronous response (a response not related to any one request),
the format of the WRITEREAD buffer is the same as for the request and response, but
with the following field definitions:
Response A byte that contains a number representing the response. It doesn’t
match the function field of any request. For example, the number 72
denotes the LINE QUALITY response; no request ever has that number
in its function field.
Status A byte that contains a completion code: either 0 for a normal operation or
some other number for an error. For example, ADCCP sends periodic
(72) LINE QUALITY responses in accordance with the setting of the
SYSGEN THRESHOLD parameter. In the case of a (72) LINE QUALITY
response, operation is normal and the value in the field is 0. ADCCP also
sends this response after putting a station in the ERRORSTOP condition.
In the case of an ERRORSTOP condition, a station has malfunctioned and
the value is 29.
Request ID A word that contains only zeros.
Reserved The contents of this word are not meaningful.
Text In A word that contains the length, in bytes, of the text field in this
response.
Text A string that contains data appropriate to the response. For example, in
the case of a LINE QUALITY response, it contains the line quality
information.