Skip to content

DBC ID extraction not correct #28

Description

@zwervers-org

According to https://www.csselectronics.com/pages/can-dbc-file-database-intro the DBC CAN ID is including a prefix for the 11bit or 29bit identification. These 3 bits are on the left side of the decimal number.
example: 2364540158 -> 0x8CF0 04FE -> 1000 1100 1111 0000 0000 0100 1111 1110‬ -> 0 1100 1111 0000 0000 0100 1111 1110‬ -> 0xCF0 04FE‬
then the 29bit CAN-ID is 0xCF004FE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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