-
Notifications
You must be signed in to change notification settings - Fork 125
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
Added method to check/retrieve current DTCs #200
Conversation
Needs fix for parsing.
Next task, update foundCodes[] array properly.
Next do cleanup on debug messages
OK, I can't figure out how to squash all these commits into one change. I think that has to be done when/if the pull request is merged. I have tested this with 2 different ELM devices, 2 different vehicles and an ELM327 emulator and it works fine, but the responses were significantly different from what was documented in the datasheet. I think it would be useful to have some additional testing by others. |
This looks like a big update with a lot of good stuff! Also, I can squash and merge from my end, so there's no prob there. |
I'll go ahead and merge now to make it easier for others to test but I won't tag out a new version until I can get one more person (maybe me?) to test successfully. Side note - do you have a reliable way of testing if there are no trouble codes to clear? |
Yes, it just adds one method and an example program for using it. As for testing if there are codes to clear, this code from my example worked for me:
I was thinking about adding another example program just for this use case. It is sort of buried in the one for fetching the codes and that would be easier for people to find. |
Fix for compile error re: unsigned int #200
No description provided.