Open
Description
Hi,
I'm using the struct
struct can_frame { canid_t can_id; /* 32 bit CAN_ID + EFF/RTR/ERR flags */ __u8 can_dlc; /* frame payload length in byte (0 .. CAN_MAX_DLEN) */ __u8 data[CAN_MAX_DLEN] __attribute__((aligned(8))); };
to send data to mi CAN bus network. Everything is ok but there is a semantic mistake when I try to send negative values.
Checking the struct it's a __u8 so it make sense the data I'm sending is not ok for the library. But how can I handle this situation?
Can anybody help me, please?
Best
Metadata
Metadata
Assignees
Labels
No labels