You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A CRC over concatenated data must be obtained either by:
updating a running CRC over the full byte stream; or
using a proper CRC combine operation that accounts for segment length.
Independent CRC results cannot be combined by simple XOR to get the CRC of the concatenated message.
There is also a second issue here: the code computes a CRC16 and then truncates it to 8 bits. If only 8 bits are stored, the effective check width is only 8 bits anyway, so this weakens error detection compared with storing the full CRC16.
Activity
wdfk-prog commentedon Apr 1, 2026