I am trying to filter out all CAN messages that do not relate to Fuel Messages (PGN 65266) on a J1939 CAN bus network.
As i understand SetExplicitFilters are used to filter out all messages but the ones that are allowed to pass.
SetGroupFilters are used to filter out all messages that are outside the lower and upper bound.
I need a way of searching and keeping CAN messages that CONTAIN a specific 16 bits value (PGN) that value is in the middle of the 29 bit extended CAN J1939 message. Thus a filtering with a MASK would be quite useful.
Does anybody here attempted this using the internal CAN module registers?
Have a great day,