9,832 views
5 votes
5 votes
Flag: 01111110
Data: 1000111111100111110100011111111111000011111
bit stuff the given data?

1 Answer

4 votes
4 votes

Flag: 01111110
Data: 1000111111100111110100011111111111000011111

whenever we encounter 11111(5 ones) after a 0 we would insert 0 in the data after 011111 0

Note that the last zero above(bold one) is not a part of original data stream.

Positions where 0 will be stuffed are indicated by P highlighted in yellow.

Ref : Forouzan

Note : 0 will be stuffed after every stream of 11111 which follows a 0 in the data stream.

100011111P110011111P0100011111P111111000011111P

Data Stream after Bit Stuffing

10001111101100111110010001111101111110000111110 (P are replaced by 0)

edited by

Related questions

2 votes
2 votes
3 answers
1
3 votes
3 votes
2 answers
2
Hirak asked May 8, 2019
1,921 views
End delimeter is → 0111data to be sent 0111111111.What is the data we should send to the reciever?
10 votes
10 votes
2 answers
4
junaid ahmad asked Sep 20, 2017
2,560 views
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 ...