Building on #132, I think this produces the same list of bytes that it does in python2, but again, I have no hardware to test on (yet!)
One oddity I noticed (being no expert on CRCs) is that the actual number computed in the CRC function is quite large before the last 2 bytes are taken, which prevented me from using crc.to_bytes(2, byteorder='little').
Building on #132, I think this produces the same list of bytes that it does in python2, but again, I have no hardware to test on (yet!)
One oddity I noticed (being no expert on CRCs) is that the actual number computed in the CRC function is quite large before the last 2 bytes are taken, which prevented me from using
crc.to_bytes(2, byteorder='little')
.