13.9-13.12 AK, EA, RJ and ER TPDUs
13.9 Data Acknowledgement (AK) TPDU
This TPDU shall not be used for Class 0 and Class 2 when the "no explicit flow control" option is selected, and for Class 1 when the network receipt confirmation option is selected.
13.9.1 Structure
Depending on the class and option agreed the AK TPDU shall have one of the following structures:
- a) Normal Format (classes 1, 2, 3, 4)
1 2 3 4 5 6 p
+--+--------+----------+------------+---------------+
|LI| AK CDT | DST-REF | YR-TU-NR | Variable Part |
| | 0110 | | | |
+--+--------+----------+------------+---------------+
- b) Extended Format (for use in classes 2, 3, 4 when selected during connection establishment).
1 2 3 4 5,6,7,8 9,10 11 p
+--+---------+---------+----------+-----+--------+
|LI| AK | DST-REF | YR-TU-NR | CDT |Variable|
| |0110 0000| | | | Part |
+--+---------+---------+----------+-----+--------+
13.9.2 LI
See 13.2.1
13.9.3 Fixed Part
The fixed part shall contain (in octet 2 to 5 when normal format is used, 2 to 10 otherwise) the following parameters:
- a) AK: Acknowledgement code: 0110;
- b) CDT: Credit Value (set to 1111 in class 1). Bits 4-1 of octet 2 for normal formats and octets 9 and 10 for extended formats;
- c) DST-REF: See 13.4.3;
- d) YR-TU-NR: Sequence number indicating the next expected DT TPDU number. For normal formats, bits 7-1 of octet 5; bit 8 of octet 5 is not significant and shall take the value 0. For extended formats, octets 5, 6 and 7 together with bits 7-1 of octet 8; bit 8 of octet 8 is not significant and shall take the value 0.
13.9.4 Variable Part
The variable part contains the following parameters:
- a) Checksum See 13.2.3.1 if the condition in 13.2.3.1 applies;
- b) Subsequence number when optionally used under the conditions defined in class 4. This parameter is used to ensure that AK TPDUs are processed in the correct sequence. If it is absent, this is equivalent to transmitting the parameter with a value of zero.
Parameter code: 1000 1010
Parameter length: 2
Parameter value: 16-bit sub-sequence number;
- c) Flow Control Confirmation Class 4 when optionally used under the conditions defined in class 4. This parameter contains a copy of the information received in an AK TPDU, to allow the transmitter of the AK TPDU to be certain of the state of the receiving transport entity (see 12.2.3.10).
Parameter code: 1000 1011
Parameter length: 8
Parameter value: defined as follows
-
Lower Window Edge (32 bits): Bit 8 of octet 4 is set to zero, the remainder contains the YR-TU-NR value of the received AK TPDU. When normal format has been selected, only the least significant seven bits (bits 1 to 7 of octet 1) of this field are significant.
-
Your Sub-Sequence (16 bits): Contains the value of the sub-sequence parameter of the received AK TPDU, or zero if this parameter was not present.
-
Your Credit (16 bits): Contains the value of the CDT field of the received AK TPDU. When normal format has been selected, only the least significant four bits (bits 1 to 4 of octet 1) of this field are significant.
13.10 Expedited Data Acknowledgement (EA) TPDU
This TPDU shall not be used for Class 0 and Class 2 when the no explicit flow control option is selected.
13.10.1 Structure
Depending on the option (normal or extended format) the TPDU structure shall be:
- a) Normal Format (classes 1,2,3,4)
1 2 3 4 5 6 p
+--+---------+---------+----------+------+------+
|LI| EA | DST-REF | YR-TU-NR |Variable Part|
| |0010 0000| | | | |
+--+---------+---------+----------+------+------+
- b) Extended Format (for use in classes 2, 3, 4 if selected during connection establishment)
1 2 3 4 5,6,7,8 9 p
+--+---------+---------+----------+------+------+
|LI| EA | DST-REF | YR-TU-NR |Variable Part|
| |0010 0000| | | | |
+--+---------+---------+----------+------+------+
13.10.2 LI
See 13.2.1
13.10.3 Fixed Part
The fixed part shall contain (in octets 2 to 5 when normal format is used, in octets 2 to 8 otherwise):
-
a) EA: Expedited Acknowledgement code: 0010 0000;
-
b) DST-REF: See 13.4.3;
-
c) YR-EDTU-NR: Identification of the ED TPDU being acknowledged. May take any value in Class 2;
For normal formats bits 7-1 of octet 5; bit 8 of octet 5 is not significant and shall take the value 0. For extended formats, octets 5,6 and 7 together with bits 7-1 of octet 8; bit 8 of octet 8 is not significant and shall take the value 0.
13.10.4 Variable Part
The variable part may contain the checksum parameter (see 13.2.3.1).
13.11 Reject (RJ) TPDU
The RJ TPDU shall not be used in Classes 0, 2 and 4.
13.11.1 Structure
The RJ TPDU shall have one of the following formats:
- a) Normal Format (classes 1 and 3)
1 2 3 4 5
+----+----------+----+----+------------+
| LI | RJ CDT | DST-REF | YR-TU-NR |
| | 0101 | | | |
+----+----------+----+----+------------+
- b) Extended Format (for use in classes 3 if selected during connection establishment).
1 2 3 4 5,6,7,8 9,10
+--+-----------+----+----+----------+-----+
|LI| RJ | DST-REF | YR-TU-NR | CDT |
| | 0101 0000 | | | | |
+--+-----------+----+----+----------+-----+
13.11.2 LI
See 13.2.1.
13.11.3 Fixed Part
The fixed part shall contain (in octets 2 to 5 when normal format is used, in octets 2 to 10 otherwise):
-
a) RJ: Reject Code: 0101. Bits 8-5 of octet 2;
-
b) CDT: Credit Value (set to 1111 in class 1). Bits 4-1 of octet 2 for normal formats and octets 9 and 10 for extended formats;
-
c) DST-REF: See 13.4.3;
-
d) YR-TU-NR: Sequence number indicating the next expected TPDU from which retransmission should occur.
For normal formats, bits 7-1 of octet 5; bit 8 of octet 5 is not significant and shall take the value 0. For extended formats, octets 5,6 and 7 together with bits 7-1 of octet 8; bit 8 of octet 8 is not significant and shall take the value 0.
13.11.4 Variable Part
There is no variable part for this TPDU type.
13.12 TPDU Error (ER) TPDU
13.12.1 Structure
1 2 3 4 5 6 P
+----+-----------+----+----+--------+----------+
| LI | ER | DST-REF | Reject | Variable |
| | 0111 0000 | | | Cause | Part |
+----+-----------+----+----+--------+----------+
13.12.2 LI
See 13.2.1
13.12.3 Fixed Part
The fixed part shall contain:
- a) ER: TPDU Error Code: 0111 0000;
- b) DST-REF: See 13.4.3;
- c) REJECT CAUSE:
0000 0000 Reason not specified
0000 0001 Invalid parameter code
0000 0010 Invalid TPDU type
0000 0011 Invalid parameter value.
13.12.4 Variable Part
The variable part may contain the following parameters:
- a) Invalid TPDU
Parameter code: 1100 0001
Parameter length: number of octets of the value field
Parameter Value: Contains the bit pattern of the rejected
TPDU up to and including the octet
which caused the rejection. This
parameter is mandatory in Class 0.
-
b) Checksum
This parameter shall be present if the condition in 13.2.3.1 applies.