Computes the 24-bit Mode-S CRC remainder over an entire message (all
bytes, including the trailing 24-bit parity field), via the standard
bit-serial polynomial division used to check or recover Mode-S CRCs.
See ModeSMessageEnvelope.crcRemainder for how to interpret the
result - it is a pass/fail check for squitter formats (DF11/17/18) but a
recovered ICAO address for surveillance-reply formats.
Parameters
bytes: Uint8Array
Raw message bytes (7 or 14 bytes), parity field included.
Computes the 24-bit Mode-S CRC remainder over an entire message (all bytes, including the trailing 24-bit parity field), via the standard bit-serial polynomial division used to check or recover Mode-S CRCs.
See ModeSMessageEnvelope.crcRemainder for how to interpret the result - it is a pass/fail check for squitter formats (DF11/17/18) but a recovered ICAO address for surveillance-reply formats.