Merge pull request #13 from mobilinkd/change_crc

Remove LICH from data frame CRC input.
pull/18/head
Wojciech Kaczmarski 2020-10-26 13:15:41 +01:00 committed by GitHub
commit ebb44b41b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -219,9 +219,9 @@ detecting all errors up to hamming distance of 5 with payloads up to
As M17s native bit order is most significant bit first, neither the
input nor the output of the CRC algorithm gets reflected.
The input to the CRC algorithm consists of the 48 bits of LICH, 16
bits of FN, 128 bits of payload, and then depending on whether the CRC
is being computed or verified either 16 zero bits or the received CRC.
The input to the CRC algorithm consists of the 16 bits of FN and 128
bits of payload, and then depending on whether the CRC is being computed
or verified either 16 zero bits or the received CRC.
The test vectors in Table 6 are calculated by feeding the given
message and then 16 zero bits to the CRC algorithm.