6. Octet-synchronous HDLC
This section summarizes the use of HDLC with octet-synchronous links, such as SONET and optionally ISDN B or H channels.
Although the bit rate is synchronous, there is no bit-stuffing. Instead, the octet-stuffing feature of 8-bit asynchronous HDLC is used.
Flag Sequence
The Flag Sequence indicates the beginning or end of a frame. The octet stream is examined on an octet-by-octet basis for the value 01111110 (hexadecimal 0x7e).
Transparency
An octet stuffing procedure is used. The Control Escape octet is defined as binary 01111101 (hexadecimal 0x7d).
The octet stuffing procedure is described in "Asynchronous HDLC" above.
The sending and receiving implementations need escape only the Flag Sequence and Control Escape octets.
Considerations concerning the use of converters are described in "Bit-synchronous HDLC" above.
Aborting a Transmission
Frames may be aborted by transmitting a Control Escape octet followed immediately by a closing Flag Sequence. The preceding frame is ignored, and not counted as a FCS error.
Inter-frame Time Fill
The Flag Sequence MUST be transmitted during inter-frame time fill. There is no provision for inter-octet time fill.
Encoding
The definition of various encodings and scrambling is the responsibility of the DTE/DCE equipment in use, and is outside the scope of this specification.