Skip to content

data frame from received messages pcan #66

@hardbyte

Description

@hardbyte

Originally reported by: Alex Eshoo (Bitbucket: AlexEshoo, GitHub: AlexEshoo)


I'm trying to get just the data bytes from a received message using pcan. I see that it sets msg.data = theMsg.DATA which is a c_ubtye Array type. I tried to wrap it with bytearray() to convert it to something readable, but it just outputs blank lines. Am I doing something wrong or is there a better way to access just the data bytes of a received message using pcan interface?


Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions