Posted by John Chappel on January 25, 1998 at 13:52:38:
In Reply to: Re:Re: Lab 1 - bit stuffing posted by Jim on January 25, 1998 at 12:26:03:
: : Huh?
: OK, what I meant is:
: 1.) How big can the data your trying to send be? For example if the data you want to send is 11111111 (1-BYTE), then what is the format of this specific data when it comes out as packets? For example, from what Ive heard I take it to mean :
: HEADER-11111101-CRC-Se0-HEADER-10000000-CRC-Se0
: Thus 1-BYTE was actually sent out as 2-BYTEs due to bit-stuffing. 2 packets are needed to transmit even though 1 BYTE is the size of teh original data. And yes, I intenitalliy left out data_length copies.
: Hope this helps
Oh, I think I see your misunderstanding. The idea of
sending multiple copies of the same byte
was just to simplify the lab. If the data you wanted to
send was 2 copies of 11111111, what you would actually
transmit is:
HEADER-1111,1101,1111,1011,11-CRC_Se0
Notice there are still 16 1's being sent.
Bit stuffing is done on the entire transmitted stream, not on individual
bytes.
I hope that helps.
JC