On 26/09/11 18:40, Oliver Hartkopp wrote:

There is no SFF flag!!

if you look at the can_id in struct can_frame at check the CAN_EFF_FLAG:

CAN_EFF_FLAG is set   ->  EFF frame
CAN_EFF_FLAG is clear ->  SFF frame

When working with SFF IDs (11 bit) the CAN_EFF_FLAG is always cleared.

Yes of course, but I associate !CAN_EFF_FLAG = imaginary SFF flag.
Anyway, I did not express myself properly.

So, I meant that the CAN_EFF_FLAG is set and the specification say that it is a 11 bit ID. So, this frame is not CAN 2.0 A and not CAN 2.0 B compliant, isn't it?

Regards,
Damien R.

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to