Skip to content

Endianess issue. #8

Open
Open
@kareled

Description

@kareled

Hello,
as CANopen seems to be using Little-Endian encoding on the network, I would expect library to correctly decode u16/u32 values back from the network. It does not look like this is happening as I see LSB u16 on the transport and then got it in MSB (byte swapped) format. So the only possible way how to see correct values is to perform byte swap in the application. Is that expected or is it a bug? IMHO it looks like a bug to me...
Thanks!

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