Skip to content

Unexpected behaviour with crc8 dvb-s2 #3

@kaufmo

Description

@kaufmo

Hi @Fabio286,

I've a very specific use case which I need to implement for an external service. I create an unique ID with crc32 & crc8-dvbs2 and there seems to be a problem. The Service has an example which works fine with you algorithms see example below. But when I'm using a new one I ran into an unexpected behaviour maybe you could explain to me what is wrong.

Example:

MessageId = AT999999201812312359598880000000001
CRC-32(MessageId) = 0x45 0xA2 0xDF 0xF1
CRC-8(0x45 0xA2 0xDF 0xF1) = 0xF6
BASE-32(0x45 0xA2 0xDF 0xF1 0xF6) = IWRN74PW

New Message:

MessageId = RC100378202301201049399550000007026
CRC-32(MessageId) = 0x90 0x12 0xE7 0xCC
CRC-8(0x90 0x12 0xE7 0xCC) = 0 // but this should be 0x0A see https://crccalc.com/?crc=9012e7cc&method=crc8&datatype=hex&outtype=0
BASE-32(0x90 0x12 0xE7 0xCC 0x0A) = SAJOPTA= // but this should be SAJOPTAK

Can you pls help me?

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