Added flow control and other functionality to UDS / ISO_TP code.

This commit is contained in:
Collin Kidder
2017-08-13 17:03:11 -04:00
parent 83399ed0a7
commit c05bd2c043
10 changed files with 147 additions and 27 deletions
+6 -2
View File
@@ -89,16 +89,20 @@ public:
static UDS_HANDLER* getInstance();
void setReception(bool mode); //set whether to accept and forward frames or not
void sendUDSFrame(const UDS_MESSAGE &msg);
void setProcessAllIDs(bool state);
void addID(uint32_t id);
void removeID(uint32_t id);
void clearAllIDs();
QString getServiceShortDesc(int service);
QString getServiceLongDesc(int service);
QString getNegativeResponseShort(int respCode);
QString getNegativeResponseLong(int respCode);
public slots:
void gotISOTPFrame(ISOTP_MESSAGE &msg);
void gotISOTPFrame(ISOTP_MESSAGE msg);
signals:
void newUDSMessage(UDS_MESSAGE &msg);
void newUDSMessage(UDS_MESSAGE msg);
private:
QList<ISOTP_MESSAGE> messageBuffer;