CAN_Library icon indicating copy to clipboard operation
CAN_Library copied to clipboard

CAN Filters with MCP2515 - define doublet

Open mclSaxony opened this issue 9 years ago • 2 comments

In CAN_MCP2515.h the label MCP2515_RXM0 is defined twice. Once at line 158 and again at line 281. Nasty.

CAN Filters will not work in the prepared manor if setMask, setFilter and all the other helpers are defined private. MemFuncs writeAddress, setMode, readRXStatus, setMask, setFilter and readAddress at least should be public.

Now filters for std messages work - extened messages still don't get filtered/accepted.

mclSaxony avatar Jul 05 '16 07:07 mclSaxony

What's the solution for this problem? Tried also to set mask and filters and get every time an error.... :o/

Clubsport avatar Jan 30 '17 09:01 Clubsport

@mclSaxony and @Clubsport I apologize for the delay on this. Take a look at the changes I just checked in, and let me know if they work better for you.

-Neil

McNeight avatar Feb 01 '17 23:02 McNeight