Expand description
CRC-16 CCITT Kermit implementation for IEEE 802.15.4 FCS.
The 802.15.4 standard uses CRC-16 CCITT with the Kermit polynomial (0x8408), which is the bit-reversed form of the standard CCITT polynomial (0x1021). Initial value is 0x0000, and the result is stored in little-endian byte order.
Functionsยง
- compute_
fcs - Compute the FCS bytes (2 bytes, little-endian) for the given data.
- crc_
ccitt_ kermit - Compute CRC-16 CCITT Kermit checksum over the given data.
- verify_
fcs - Verify the FCS of a frame.