Closed Informatic closed 6 years ago
also, this can be calculated in python using crcmod
library configured like that: crcmod.mkCrcFun(0x11021, 0x0000, True, 0xffff)
(or crcmod.predefined.mkCrcFun('x-25')
).
Leaving this here for future reference, algorithm properties could be noted down in fcs16.c
.
Hey! Just a quick note for people struggling with similar issue:
fcs16.c
implements CRC16 with 0x1021 polynomial, but it is reflected, which makes it "X-25" according to https://pycrc.org/.