6100 ADCCP Programming Manual

(66) RECEIVETEXT
Requests and Responses
069225 Tandem Computers Incorporated 6–27
Table 6-3. Status Byte Values for the RECEIVETEXT Response (Page 1 of 2)
Status Byte
Value Description
000 An I-frame arrived. Handle it as your application dictates. The significance of the
poll/final bit depends on whether the local station is a primary station or a secondary
station station, whether transmission is two-way alternate or two-way simultaneous,
and whether the mode is NRM or something else.
If the mode is NRM and the local station is the primary station, ADCCP polls the next
station on the scan list.
If the mode is NRM and the local station is a secondary station, ADCCP uses a
pending SENDTEXT to satisfy the poll or transmits an RR frame if no SENDTEXT is
pending. If multiple output frames are queued for the same station, ADCCP sends
them, up to and including a final bit. In ARM or ABM, the poll bit indicates a request
for synchronization in the exchange of I-frames.
64 A UI frame arrived. Process it as the application dictates.
65 If the local station is a primary station, this code indicates that a RIM arrived. Issue a
MODE SET request to send a SIM to the remote station. If the RIM is in response to
another mode-setting frame you sent, your application must send that frame again
after the SIM sequence.
If the local station is a secondary station, this code indicates a SIM arrived, indicating
ADCCP has sent an acknowledgement and awaits another mode-setting frame. Be
sure your application has a RECEIVETEXT pending to find out when that frame
arrives.
66 A USER0 frame arrived. Handle it as your application dictates.
67 If the local station is a primary station, this code indicates a DM frame arrived. The
remote station needs its mode set before it can accept other kinds of frames.
(It might have been disconnected as a result of some error.) Issue a MODE SET
request to put the station in the proper mode. If the local station is a secondary, this
code indicates that a SARM arrived and that the link is now in asynchronous
response mode.
68 A UP frame arrived. The local secondary station has received a poll. If SENDTEXT
requests are pending, ADCCP uses them to satisfy the poll. If not, ADCCP transmits
an RR frame with the poll bit on.
71 A SABM frame arrived. The link is now in Asynchronous Balanced Mode. Even if
this station sent a SABM that has not yet completed, it is now all right to make a data
transfer request.
72 If the local station is a primary station, this code indicates that an RD frame arrived
from a secondary station; the secondary station requests a DISC mode-setting
sequence. Issue a MODE SET call to send a DISC frame to the secondary station.
If the local station is a secondary station, this code indicates a DISC arrived from the
secondary station. This link is now in DISC mode. The local station must now await
a mode-setting frame from the primary.