ACC HDLC-NRM (SDLC) User's Guide
Using HDLC-NRM (SDLC) Protocols
Status and Error Messages
Chapter 342
Command/Response Reject Reason Codes
The format of the command/response reject reason information is given
below. This data is passed to the application in the data portion of the
indicated unsolicited status messages, as described under the Error
Recovery section. This information is summarized from ISO 4335
standard, section 7.3.3.2. Please refer to the standard for a more detailed
description.
Of primary interest here are the four one bit flags named w, x, y and z.
The meanings are as follows:
w when set to “1” indicates that the rejected control field
was undefined or not implemented.
x when set to “1” indicates that the rejected frame
contains an I-field when it is illegal for this type of
frame. w is also set to “1” in this case.
y when set to “1”indicates that the rejected frame was too
long.
z when set to “1” indicates that the rejected control field
contains an invalid receive sequence number N(R).
NOTE ISO 4335 Section 7.3.3.2 describes the format of this information field for
a Frame Reject response in modulo 8 using bit numbers from 1 (for the
first transmitted bit) to 20. This I-field is padded with 4 extra bits to
make 3 whole octets, as allowed in the standard. The above diagram uses
the more usual convention of showing the most significant bit of each
byte on the left, and the least significant bit of each byte on the right.
When data is transmitted over the wire, the least significant bit is
transmitted first beginning at byte 1.
Byte 1 Byte 2 Byte 3
Rej. frame control
field
N(r) C/R N(s) 0 z y x w










