edited by
2,553 views
10 votes
10 votes
In bit stuffing protocol for frame synchronization, if stuff bit pattern is $01110$ then how many zero bits stuffed by transmitter white transmitting given frame (except start of transmission and end of transmission)?

$\text{Data frame:} 1011101111011111110$
edited by

2 Answers

Best answer
4 votes
4 votes

Flag : 01110

Data Frame: 1011101111011111110 

Data after bit stuffing: 1011010110110011011011010

or your reference find the following screenshot from the book:

selected by
4 votes
4 votes

Stuff bit pattern :01110 
dataFrame :1011101111011111110 
After stuffing 1011010110110110111110: 3Bit stuffing

[Edit: I didn`t cover the edge case where stuffing 0 also ruining the pattern thus updated answer is correct i.e
Data after bit stuffing: 1011010110110011011011010 Thanks @ manu00x for information ]

edited by

Related questions

3 votes
3 votes
2 answers
1
Hirak asked May 8, 2019
1,920 views
End delimeter is → 0111data to be sent 0111111111.What is the data we should send to the reciever?
3 votes
3 votes
1 answer
3
Xylene asked Aug 24, 2017
1,481 views
Data :- 011111Flag:- 0111
5 votes
5 votes
1 answer
4
Manu Thakur asked Aug 3, 2017
9,825 views
Flag: 01111110Data: 1000111111100111110100011111111111000011111bit stuff the given data?