HDLC become derive an extensive Layer-2 protocol from him/it sub variations like LAPB or LAPD. LAPB is included the Layer 2 from the CCITT recommendation to X25.
The here presented data (representing Modulo-8) only serve as short overview over the types of LAPB-pakets. For detailierte information, the ISO 7776 only is responsible.

broadly:


Flag

AF

CF

Parameter / Daten

FCS

Flag

    7Eh                                                                                           7Eh

dependent on the type

Control Field
Type of the package                                                  Frame Check Sequence

Address Field
command / responce (01h/03h)

 

Types:

This overview treats exclusively the most frequently use variant in Germany at the representing modulo-8.

" set asyncronous balanced mode "

Flag

c

3Fh

FCS

Flag

  bit-4 poll-bit

SABM

 

" disconnected mode "

Flag

c

3Fh

FCS

Flag

  bit-4 poll-bit

DM

 

" unnumbered acknowledgment "

Flag

r

73h

FCS

Flag

  bit-4 final-bit

UA

 

" disconnect "

Flag

c

53h

FCS

Flag

  bit-4 poll-bit

DISC

 

" frame reject "

Flag

r

87h

xxh

xxh

xxh

FCS

Flag

see ISO 7776 for information-field

  bit-4 final-bit

FRMR

 

" reject "

Flag

c/r

x9h

FCS

Flag

  bit-7..5 receive sequence number
  bit-4 poll/final-bit

REJ

 

" receive not ready "

Flag

c/r

x5h

FCS

Flag

  bit-7..5 receive sequence number
  bit-4 poll/final-bit

RNR

 

" receive ready "

Flag

c/r

x1h

FCS

Flag

  bit-7..5 receive sequence number
  bit-4 poll/final-bit

RR

 

" data-frame "

Flag

c

xx..xx0b

data

FCS

Flag

  bit-7..5 receive sequence number
  bit-4 poll -bit
  bit-3..1 send sequence number
  bit-0 must be zero

I-frame




In the standard to LAPB, costly State-diagrams are represented to the respective transitions and mistake treatments. Getting a variation about a space-saving and simultaneously good to in the habit of state/change-mechanism is the implementation by means of a State-Table. The current status is used as line and the received Paket-Typ on that occasion as columns. The there deposited byte returns the necessary reaction and the low Nibble the new State in the upper Nibble. There sufficiently exceptions exists, however even further evaluations are around necessary about such a table, sees ISO 7776.