A HLDC Frame is an individual packet of data and some metadata about the packet.

ComponentPurpose
FlagThe beginning and end of a frame
AddressThe source secondary device
ControlThe type of the frame and it’s acknowledgement identifier
Frame Check SequenceA or bit Cyclic Redundancy Check

Types

There are a number of HLDC frame types with different purposes.

I-Frame

The I-Frame is a type of frame containing information for transfer.

Control Sequence

It’s control sequence looks like: Where:

  • = Sequence number of sender
  • = Sequence number of receiver
  • = Poll/Final Bit

S-Frame

The S-Frame is a type of frame containing supervisory information for communication between devices. These may pertain to flow control or error control.

Control Sequence

It’s control sequence looks like: Where:

  • can be any of:
    • = Receive Ready (RR)
    • = Receive Not Ready (RNR)
    • = Reject (REJ)
    • = Selective Reject (SREJ)
  • = Sequence number of reciever

U-Frame

The U-Frame is a type of frame used for miscellaneous other purposes.

Control Sequence

It’s control sequence looks like: Code may be any of: