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.
This commit is contained in:
@@ -65,7 +65,7 @@ namespace UDS_SERVICES
|
||||
|
||||
struct CODE_STRUCT
|
||||
{
|
||||
int code;
|
||||
unsigned int code;
|
||||
QString shortDesc;
|
||||
QString longDesc;
|
||||
};
|
||||
@@ -73,9 +73,9 @@ struct CODE_STRUCT
|
||||
class UDS_MESSAGE: public ISOTP_MESSAGE
|
||||
{
|
||||
public:
|
||||
int service;
|
||||
int subFunc;
|
||||
int subFuncLen;
|
||||
unsigned int service;
|
||||
unsigned int subFunc;
|
||||
unsigned int subFuncLen;
|
||||
bool isErrorReply;
|
||||
|
||||
UDS_MESSAGE();
|
||||
@@ -94,8 +94,8 @@ public:
|
||||
void sendUDSFrame(const UDS_MESSAGE &msg);
|
||||
void setProcessAllIDs(bool state);
|
||||
void setFlowCtrl(bool state);
|
||||
void addFilter(int pBusId, uint32_t ID, uint32_t mask);
|
||||
void removeFilter(int pBusId, uint32_t ID, uint32_t mask);
|
||||
void addFilter(uint32_t pBusId, uint32_t ID, uint32_t mask);
|
||||
void removeFilter(uint32_t pBusId, uint32_t ID, uint32_t mask);
|
||||
void clearAllFilters();
|
||||
|
||||
QString getServiceShortDesc(int service);
|
||||
|
||||
Reference in New Issue
Block a user