You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the implementation of the clear DTC (#7) is broken and we are trying to work out how to get it to work. I am starting this issue thread so we can do a bit of a knowledge dump while we work out how to get it working.
Here are a few links to information that may be helpful.
Hi, seems you are missing the "data bytes" value in the message.
On byte 0 there is a number of data bytes and in your implementation you have "0", while you are sending 1 byte of data, which is the service number.
You can try to change the line 714 of the ODB2.cpp file to:
CAN.write(0x01); // number of additional bytes
Right now the implementation of the clear DTC (#7) is broken and we are trying to work out how to get it to work. I am starting this issue thread so we can do a bit of a knowledge dump while we work out how to get it working.
Here are a few links to information that may be helpful.
http://www.totalcardiagnostics.com/support/Knowledgebase/Article/View/104/0/obd2-pids-for-programmers-technical
https://electronics.stackexchange.com/questions/561221/0x7e8-to-0x7fh-on-the-can-bus
https://en.wikipedia.org/wiki/OBD-II_PIDs
https://en.wikipedia.org/wiki/On-board_diagnostics
Here is the current implementation
Based of the information in the Wikipedia article, this should work but in practice it does not seem to work.
The text was updated successfully, but these errors were encountered: