biggy238
Active member
I'm working on a project that requires data from the vehicle canbus. I'm a newborn when it comes to actually retrieving data, so I'm hoping someone here has info surrounding the topic.
I'm using an Arduino based can tool and open source code to retrieve data. I've got the basic engine speed, coolant temp, RPM being pulled from 0x7E8 (engine ECM) address.
What I'm struggling with is filters and masks.
If I understand correctly, the mask is simply the highest address we can receive from, and the filters set what bytes we are receiving?
The typical starter code is init mask of:
(0, 0, 0x7FC)
(1, 0, 0x7FC)
With 6 filters (mcp2515 can only have 6) set for 0x7E8
So basically the mask is the range we can monitor, the filters are what we pass through?
Sent from my motorola one 5G using Tapatalk
I'm using an Arduino based can tool and open source code to retrieve data. I've got the basic engine speed, coolant temp, RPM being pulled from 0x7E8 (engine ECM) address.
What I'm struggling with is filters and masks.
If I understand correctly, the mask is simply the highest address we can receive from, and the filters set what bytes we are receiving?
The typical starter code is init mask of:
(0, 0, 0x7FC)
(1, 0, 0x7FC)
With 6 filters (mcp2515 can only have 6) set for 0x7E8
So basically the mask is the range we can monitor, the filters are what we pass through?
Sent from my motorola one 5G using Tapatalk