-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to read DTC codes ? #14
Comments
If you already have a connection to your car, you can get the DTCs by sending the appropriate PIDs and parsing the response.
The exact command depends on the kind of DTC you want to read, as there may be some only relevant to a freeze frame, or some are stored permanently due to repeated errors. Either way, if there are DTC reported, the response will have an array If the explanation is empty, it's probably a manufacturer-defined code: These are usually explained in your car maker's service/workshop manual. |
Is there also the possibility to delete the error codes? |
Yes, sending |
Hello @mickeyl , @thdankert |
@mukulpandey57 Is your issue related to this one? The OP asked for general information on using this library to read DTCs - he probably moved on, as this issue has not seen any activity in over a year... Regarding your question: which DTCs does the other app read, and which ones did you read using this library? There are 3 different PIDs for reading them:
|
@thdankert , Thanks for your quick response. I was using all three PID ($03, $07,$0A) and only getting the C Codes and other wired scanner and apps getting the P Codes. Please assist. Seems like something related to this #31 |
I'm afraid I am unable to assist you there. I don't know anything about your car, the code you wrote, and how the other applications read DTCs. |
How to clear the DTC code ? "LTOBD2PID_CLEAR_STORED_DTC_04" any more explanation to this? |
Hi, i'm new to this field and thanks for amazing library. My car now can connect to your demo app, but i don't know how to read DTC code from my car ?
Can someone give me some example pls
The text was updated successfully, but these errors were encountered: