Skip to content

crc-24q used with RTCMv3 #40

@ventureresearch

Description

@ventureresearch

Qualcomm CRC-24Q as used with RTCMv3. Similar to the other crc-24 but with xor_in = 0.

models.append({
    'name':         'crc-24q',
    'width':         24,
    'poly':          0x864cfb,
    'reflect_in':    False,
    'xor_in':        0x0,
    'reflect_out':   False,
    'xor_out':       0x0,
    'check':         0xcde703,
})

Generated code was verified on real RTCM data, 'check' was produced by --check-string "123456789". Checking with another RTCMv3 string should show this, matching the checksum on the wire 0xa8f72a:

python3 pycrc.py --width=24 --poly=0x864CFB --reflect-in=false --xor-in=0 --reflect-out=false --xor-out=0 --check-hexstring "d300084ce0008a00000000"
0xa8f72a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions