Files
giesCANne/canfilter.h
T
Collin Kidder 0f9584eaea Fixed ISOTP Interpreter Window - It functions again.
Also added UDS decoding to the ISOTP window. An attempt is made to see
if a frame looks like UDS and then it is decoded.

Also, some code clean up to remove some compiler warnings. There's a
LONG way to go still.
2017-10-09 20:59:25 -04:00

20 lines
295 B
C++

#ifndef CANFILTER_H
#define CANFILTER_H
#include <stdint.h>
class CANFilter
{
public:
CANFilter();
void setFilter(uint32_t id, uint32_t mask, int bus);
bool checkFilter(uint32_t id, int bus);
public:
uint32_t ID;
uint32_t mask;
uint32_t bus;
};
#endif // CANFILTER_H