Patent ID: 6674770
Filing Date: 2004-01-06
Classification: H04L

Abstract:
A method for bit stuffing in a transmitter unit in a HDLC system, adding an extra character in sequences in the original information bits to be transmitted which resembles any flag pattern, said method comprising the steps of:selecting the n first bits from a first queue of bits, comprising said original information bits to transmit, creating a first bit sequence of n bits; comparing said first bit sequence with prestored transmission bit stuffing data, comprising, for each possible combination of bit values in said first bit sequence, transmission shift data and transmission sequence data; adding data derived from the transmission sequence data corresponding to said first bit sequence to a second queue; and removing a number of bits from said first queue equal to the transmission shift data corresponding to said first bit sequence; repeating all steps until said first queue contains less than n bits and adding the remaining bits in said first queue to said second queue.