6100 ADCCP Programming Manual

(66) RECEIVETEXT
Requests and Responses
069225 Tandem Computers Incorporated 6–25
(66) RECEIVETEXT The RECEIVETEXT request and response are used to accept frames from a remote
station.
Request The RECEIVETEXT request awaits incoming frames. Your application issues this
request for a primary or combined application to receive the following types of frames:
I-frames, UI frames
RIM frames
SABM or SABME frames (only if unexpected, or if the station does not issue a
SABM)
USER0, USER1, USER2, or USER3 frames
UA frames
FRMR frames
XID frames
TEST frames
You application issues this request for a secondary station to receive the following
frames:
I-frames, UI frames
SIM, SNRM, SNRME, SARM, SARME, RSET, or DISC frames
USER0, USER1, USER2, or USER3 frames
Unnumber Poll (UP) frames
RSPR frames
XID frames
TEST frames
Only one process at a time can have RECEIVETEXT requests outstanding; otherwise
one process could receive data intended for another process. ADCCP allows as many
as eight RECEIVETEXT requests to be pending.
RECEIVETEXT has a special option to flush outstanding reads from ADCCP’s queues.
This option effectively aborts any pending RECEIVETEXT requests (a step you may
want to take in the course of initialization or after a path switch). There are no
responses to any of the aborted RECEIVETEXT requests. After flushing all
outstanding reads, the request retrieves the next frame from the line.
The request buffer format is:
Function := 66
Modifier := 0 to read from the line, or 255 to flush
outstanding reads