Skip to content

Missing Data, Questionable Arbitration IDs when using PCBUSB with python-can notifier #23

Description

@trey-sygnalauto

Uwe,

I am seeing some unexpected behavior when using your library with python-can. Your monitor tool has an output like this (which looks correct):

./pcbusb_recv
Initialize CAN: 0x0
  - R ID: 601 LEN:8 DATA:63 00 00 00 63 a5 d0 01
  - R ID: 602 LEN:8 DATA:63 00 ff ff ff ff ff ff
  - R ID: 603 LEN:8 DATA:63 00 01 00 00 00 02 00

When I rx these same messages in python the arb ID is way different but the lower bytes are correct:
msg.arbitration_id = 27874818787378690 = 0x63080000000602

The message also only contain an empty byte array for data and has a dlc of 255.

Following the message up the call stack in python, it never appears to have the right data so I though I would reach out to you.

Not sure how to debug from here since the library doesn't have sources. Please help! :)

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

    analyzingInvestigation required to understand the problem

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions