- return crc16(message, length, 0xffff, 0x1021);
+ return crc16(message, length, 0xffff, CRC16_POLY_CCITT);
+}
+
+uint16_t crc16_ccitt_kermit(uint8_t const *message, int length) {
+ uint16_t val = crc16(message, length, 0x0000, CRC16_POLY_CCITT);
+ return SwapBits(val, 16);