Case study of usage of error-correcting codes (Hamming) and CRC-4 method depending on channel quality and message size.