Skip to main content

Posts

Implementation of error detection & correction methods in C

TITLE: Lab #7-   Implementation of error detection & correction methods in C Objective:   To implement CRC encoding at the Sender, and CRC decoding at the Receiver In C, write a function MakeCRC, which takes in 2 parameters Divisor and Dividend, and returns a Remainder. At the Sender, provide the Divisor and Dividend according to Figure 10.15. Check that MakeCRC returns the correct remainder, to be appended to the Dataword. At the Receiver, enter the Dataword, as the Dividend to the MakeCRC function. If no error is detected, the Remainder (also known as the Syndrome) is 000.  Else, an error has been detected. Inject error(s) into the Dataword received by the Receiver:- single-bit (isolated) errors burst (consecutive) errors Is the Receiver able to detect the errors?  Send the data - 1001000 - using the divisor - 1000. Inject single-bit error(s) into the Dataword received by the Receiver. Is the Receiver able to detect the errors?  Wh