CAN bus sniffing
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
__________________
Check out @bdmaximusworx
05.5 Campanella White TDi Jetta 5spd 45.5MPG
-Little Sexy
'10 Silver F250 CCLB 4X4 6.4L cummins Swapped
Insta @trash.panda250
|