In case anyone else is looking for this information (I’ve looked in the past too), the CRCs are calculated using the following configurations.
I’m using the BG95-M3, which has three CRCs in the response from AT+QFCRC
:
+QFCRC:<crc32>,<crc16>,<crc16_ccitt>
Hat-tip to delsum!
CRC-32
crc width=32 poly=0x4c11db7 init=0x0 xorout=0x0 refin=false refout=false out_endian=big
CRC-16
crc width=16 poly=0x1021 init=0xffff xorout=0xffff refin=false refout=false out_endian=big
CRC-16 / CCITT
crc width=16 poly=0x1021 init=0xffff xorout=0xffff refin=true refout=true out_endian=big