[Tutor] CRC-16 calculation

Johan Geldenhuys johan at accesstel.co.za
Tue Feb 8 08:28:35 CET 2005


Hi everybody,
I have a data packet in Hex values and need to determine how to
calculate the CRC-16 bit checksum for these values.
Eg.:
0x55,0x00,0x0A,0x01,0x01, 0x01,0xFF,0x00,0xDC,0xCC
Sync|    Lenght |source addr|dest. adr |Data| CRC check|

This example shows me the CRC chechsum, but if I change the source addr,
this chechsum is no longer valid. 
Any suggestions on how to calculate that?

Thanks

Johan 

-- 
This E-Mail has been scanned.
Enjoy Your Day.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050208/3c07fe23/attachment.htm


More information about the Tutor mailing list