Bit Stuffing
01111110(start)011111010000101111101.............01111110(end)
We all like byte as it is 8 bite. In bite oriental protocol, you see a stream of 010.....101
and there must be a way to determine the start and end, flag is use for this purpose, flag
consists of 0111110, ie start with "0" follow by six "1", we also send binary data it may
consists of any pattern, inorder to tell the communication device that it is a data and not
a flag, bit stuffing is use, for any continues five "1", we insert a "0", so it will not
mis interpret as flag. The receiving device will remove the "0" after receiving contimue
of five "1", but if the six bit is a "1", then it is a flag and not data.
Chua Parry
|