Skip to content

Type UNSIGNED24 not suported and crashes #622

@jfernandezbzigor

Description

@jfernandezbzigor

Hello,

I see that this library does not contemplate the type unsigned24, and others.
I've checked it here: https://www.port.de/cgi-bin/CAN/CanOpenDataTypes

It implies many things. For example, if you send a pdo, you cant create it if you have a unsigned24. You have to construct the bytearray,

Also, when accessing it from other node, of course, the library does not know how to manage this typing, and what seems more crazy to me, is that just accesing to the variable of the object: obj.raw, returns -> ERROR | unhashable type: 'bytearray'

And this error happens for just accessing to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions