Let G(x) = x5 + x4 + x2 + 1 be the polynomial generator(pattern), T = 101000110101110 be the message received by the destination node. Would the receiver accept the message? Why?
Given polynomial is
Message from the destination node
The Divisor polynomial bit
Bits to be appended to the message = (Divisor polynomial bits -1)
Now, append 5 zero to the message bit, hence
Remainder =0000
Hence, CRC = 0000
Hence, we will not append any digit in the original message
So, the receiver will receive 101000110101110
Because there is not any error in the code, code is correct.
Comments