HDLC Protocol
HDLC Protocol
HDLC Protocol
It is a data link layer protocol used for half duplex and full duplex transmission mode and
communicates both over point-to-point and multipoint links.
Basic Characteristics
To be used for a variety of applications HDLC defines:
• Stations
• Link Configuration or arrangement of links
• Transfer Mode
STATIONS
HDLC define 3 types of station
1. Primary Station or Computer
Control operations of the link such as initiating (starting) data transfer,
transmission of user and control data and termination of link
Frames issued by primary are called commands
2. Secondary Station or Computer
Works under primary station or computer
Frames issued by secondary are called responses
3. Combined Station
Combines the features of primary and secondary
A combined station may issue both commands and responses
LINK CONFIGURATIONS
The twp link configurations are:
1. Unbalanced Configuration
Consists of one primary station and one or more secondary station
Supports both half and full duplex transmission mode
2. Balanced Configuration
Consists of two combined stations
Supports both half and full duplex transmission mode
TRANSFER MODE
The three data transfer modes are:
1. Normal Response Model (NRM)
If arrangement of links is unbalanced then NRM is used
Primary station starts data transfer to a secondary but a secondary
station may only transmit data in response to a command from a primary
station or computer
Supports point-to-point, multipoint, half and full duplex transmission mode
2. Asynchronous Balanced Mode (ABM)
Used with a balanced configuration
Any combined station may initiate (start) data transfer without receiving
permission from other combined station
Supports point-to-point, half and full duplex transmission mode
Data Flow: enables a receiver to adjust the flow of data from a sender so that
receiver’s buffer don not overflow
Error Control: achieved by retransmission of damaged frames that have not been
acknowledged or the other side requests for retransmission
Frame Check Sequence
It contains error detecting code by applying CRC on all the bits of the frame
except flag field that is flag field bits are not used when generating an error
detection code.
EXAMPLE