Fixes to UDS related code

This commit is contained in:
Collin Kidder
2017-08-20 18:22:10 -04:00
parent 0ab6fdd411
commit 4b73cb2e26
5 changed files with 47 additions and 6 deletions
+4
View File
@@ -21,6 +21,7 @@ public:
void setReception(bool mode); //set whether to accept and forward frames or not
void sendISOTPFrame(int bus, int ID, QVector<unsigned char> data);
void setProcessAll(bool state);
void setFlowCtrl(bool state);
void addID(uint32_t id);
void removeID(uint32_t id);
void clearAllIDs();
@@ -43,7 +44,10 @@ private:
bool waitingForFlow;
int framesUntilFlow;
bool processAll;
bool issueFlowMsgs;
QTimer frameTimer;
uint32_t lastSenderID;
uint32_t lastSenderBus;
void processFrame(const CANFrame &frame);
void checkNeedFlush(uint64_t ID);