May-23-2017, 08:26 AM
if you call it like this
One of the packages I testes - PyCRC calculates it as 3191
CE9F
calc ('11010003000C')your function returns '3601'
One of the packages I testes - PyCRC calculates it as 3191
>>> from PyCRC.CRC16 import CRC16 >>> print CRC16().calculate('11010003000C') 3191 >>>both not what you expect
CE9F