Here it is my simplest C free source code implementation for CRC-16:
Want to know
more? I'm glad to Ross Williams for having released
to the public domain this terse, tidy and highly understandable explanation
of CRC workings.That's what you will find:
- A terse explanation of the basics (with no unnecessary math)
- Step by step implementation examples
- Standard, frequently used generator polynomials
- C source code examples
- A CRC glossary
- Selected references
on the link below his "A painless guide to CRC error detection
algorithms" will be loaded.
Take a breath and be patient: this 95 kB HTML file is worth the while!