On 09/26/11 09:10, Damien R. wrote: > On 23/09/11 18:40, Oliver Hartkopp wrote: > >> 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. > > Yes I agree and it is what you explained in the can documentation. The problem > is that I have a proprietary protocol specification which specifies that > frames have a 11 bit ID (and so I assume a standard frame format) but the SFF > flag is not set.
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. Regards, Oliver _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
