The sender counts or checks the number of 1's in the bit pattern. If even number of 1's then a 0 parity bit is added. If it if odd then a 1 is added in the parity bit.
The receiver counts 1 checks the number of 1's in the bit pattern / data that is received. If odd then it is identified that an error has occurred and requests the data to be re-sent.
If it is even then it is assumed the data is correct however it does not mean it is correct.
No comments:
Post a Comment