Fixed up ability to send frames while not connected and to show frames
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.
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user