On 09/23/11 18:31, Damien R. wrote: >>> Ok, thanks Oliver. >>> So if I understand correctly the examples the CAN_EFF_FLAG should be set >>> with >>> a J1939 message and not set with a 11bits identifier message. >>> >> >> Yep! Got it :-) > > Ok, so I have two more questions: > - If I receive message with an identifier of 11bits and the CAN_EFF_FLAG is > not set, does it means that the message does not respect the can standard's ?
No. There are Standard frame format frames (SFF) and Extended frame format frames (EFF) possible on CAN. Both are correct. SFF frames have a 11 bit ID, EFF frames a 29 bit ID. That's it. Beware SFF CAN-ID 0x123 is not the same as EFF CAN-ID 0x123 (which is then 0x80000123). Regards, Oliver _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
