Computing CRC-CCITT (0xFFFF)
Posted: Fri Jan 04, 2013 2:21 am
I have written a quick script in basic to create a XOR checksum but now I'm working on CRC-CCITT
http://en.wikipedia.org/wiki/Computation_of_CRC
http://www.lammertbies.nl/comm/info/crc ... ation.html
If I could address individual bits I'd be on my way. Is there any way to do this?
At the moment I'm defining variables as BYTE as doing LOTS of XOR and manually checking bytes, doing >> and adding 128
Has anyone implemented CRC-CCITT (0xFFFF) before? I'm not sure I'm going down the correct avenue.
http://en.wikipedia.org/wiki/Computation_of_CRC
http://www.lammertbies.nl/comm/info/crc ... ation.html
If I could address individual bits I'd be on my way. Is there any way to do this?
At the moment I'm defining variables as BYTE as doing LOTS of XOR and manually checking bytes, doing >> and adding 128
Has anyone implemented CRC-CCITT (0xFFFF) before? I'm not sure I'm going down the correct avenue.