that were sent within the same window as received frames. Added a new scripting window that can be used to create scripts that send and receive messages at runtime - not done but sort of working.
20 lines
291 B
C++
20 lines
291 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);
|
|
|
|
private:
|
|
uint32_t ID;
|
|
uint32_t mask;
|
|
int bus;
|
|
};
|
|
|
|
#endif // CANFILTER_H
|