6100 ADCCP Programming Manual
(66) RECEIVETEXT
Requests and Responses
6–26 069225 Tandem Computers Incorporated
Request ID := A unique value from 1 through 32767,
determined by application
Text Out := 0
Text In := Ignored (ADCCP uses the maximum frame size
determined by the MAXFRAME parameter)
Text None
Response The RECEIVETEXT response delivers data or other kinds of frames to the application.
The general status byte indicates whether the poll/final bit is on or off, or reports any
error that occurred during the operation. The text field status byte indicates the kind
of frame received.
If your application uses the value of 255 in the Modifier field of the RECEIVETEXT
request in order to flush all reads, the RECEIVETEXT request completes like any other
RECEIVETEXT. The response delivers an incoming frame to the application; it does
not report whether there were any requests to cancel.
Note There is no response to a canceled RECEIVETEXT request. ADCCP assumes that the application
canceled the corresponding call or that the call finished with a path-switch error.
The response buffer format is:
Response := 66
Status := 0 if the P/F bit was off, 128 if the P/F
bit was on, or a code for the error that
occurred
Request ID := The same as in the request
Text Out := 0
Text In := I-field size of frame + 2
Text := Station ID :Byte
Identifies the station that sent the
frame
Status :Byte
Identifies the kind of frame
(see Table 6-3)
Information :Array of Bytes
The I-field of the incoming frame, if
received without error
Table 6-3 lists the values and their description for the status byte in the RECEIVETEXT
response.