07 1 Link
07 1 Link
Application
Transport
Network
Link
Physical
Network
Link
Virtual data path
Network
Link
Virtual data path
Um?
…10110 …
Data bits
Transmitted bits
with stuffing
Data bits
Transmitted bits
with stuffing
Slightly 1 1 1
Noisy 0 0 0 0 0
Very 1 1 1
noisy 0 0 0 0 0
• Sender:
• Compute R check bits based on the D data bits; send the
codeword of D+R bits
CSE 461 University of Washington 31
Using Error Codes
• Receiver:
• Receive D+R bits with unknown errors
• Recompute R check bits based on the D data bits; error if
R doesn’t match R’
Data bits Check bits
D R’
=?
R=fn(D)
• Receive Procedure:
1. Divide and check for zero remainder
• Properties:
• HD=4, detects up to triple bit errors
• Also odd number of errors
• And bursts of up to k bits in error
• Not vulnerable to systematic errors like checksums