I am using an ethernet and for sending ECHO reply,its important to calculate CRC.Should Iconsider data while calculating 16-bit CRC, and if YES then where shoul i append the EXTRA zeros,
1. at the place of CRC itself or
2.in the end..
for example:
if msg is:
45 00 00 3c 02 13 00 00 80 01 [two bytes of crc] [source IP] [destination IP]
should i consider source and destination IP's while calculating CRC-16 or not..?
and where should i append zeroes..?
please,help me..
1. at the place of CRC itself or
2.in the end..
for example:
if msg is:
45 00 00 3c 02 13 00 00 80 01 [two bytes of crc] [source IP] [destination IP]
should i consider source and destination IP's while calculating CRC-16 or not..?
and where should i append zeroes..?
please,help me..
Comment