You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split filtering for standard and extended IDs #147
Right now there is no clear distinction between 11- and 29-bit messages for filtering. Seems like most interfaces have support for having different filters but right now they apply the same filter settings for both or have some other non-standard way of specifying which one to apply the filtering on.
Maybe it should be something like [{"can_id_ext": 0x123456, "can_mask_ext": 0xFFFFFF}, {"can_id_std": 0x123, "can_mask_std": 0xFFF}].
If can_id and can_mask is specified, it could be automatically translated to both std and ext variants in can.interface.Bus constructor to be fairly backwards compatible.
Activity
christiansandberg commentedon Mar 4, 2017
On second thought it would be even better to add an "extended" key to the dictionary. Then it would not be necessary to update all interfaces at once.
[{"can_id": 0x123456, "can_mask": 0xFFFFFF, "extended": True}, {"can_id": 0x123, "can_mask": 0xFFF, "extended": False}]Split filtering for standard and extended IDs
Split filtering for standard and extended IDs
christiansandberg commentedon May 26, 2017
I'll go ahead and close this since the pull request has been merged.
Split filtering for standard and extended IDs