If someone could explain how these CAN IDS are getting through my mask & filter combination.
i am trying only receive certain can ids to capture messages at the highest frequency possible
i have included the filter set up and an image of how i believe the filters work (a bitwise comparison) but for the highlighted position i belive the filter should not allow the message 202 through but yet it does
Hi @monitoroneuser I have not worked with CAN in some time, but is it possible that you're seeing 0x00000202 pass through the filter when you're expecting to filter out 0x02020000?
Very strange. Can you share more of your code (in text format) so we can see if anything else stands out?
In the meantime, it might be worth testing a simple version of your code (that reproduces this issue) on an Arduino compatible controller using the upstream library: GitHub - coryjfowler/MCP_CAN_lib: MCP_CAN Library
Then we might be able to isolate it to the Particle port of the library or something else.
The Monitor One uses the same microcontroller under the hood as many other Particle devices. There should not be much of a difference with how the library behaves.
But, if you have another development board available, it might be useful to test your setup with different hardware.