-
Notifications
You must be signed in to change notification settings - Fork 127
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
ESP32 Wifi: getting weird responses #76
Comments
I don't know why you're getting the
Happy to help and really appreciate people find it useful! |
Try testing the main branch. If it works I'll tag out a new version. If not, please post the latest debug printout |
Thank you for your fast response! I will test the code tomorrow again and report back ASAP. But doesn’t it need to be |
So I just tested the updated code and it works flawlessly now! Apparently no hardware issues, just some timeouts here and there, but that's probably normal. Thank you! |
Fixed in release 2.5.5 |
Hello,
I was testing ELMduino with a OBD2 Wifi adapter and an ESP32. I read #52 and I know there may be problems with this configuration. I'm trying to read the coolant temperature of a BMW from 2014. Sometimes, I get correct numbers, but very often I just get weird responses.
After some debugging, I found out that these "weird responses" might actually contain the correct value but some weird symbols as well, which could be misinterpreted by my code.
I just tested with two different sketches, one by me and the other one being your "ESP32_test.ino", adapted to work with Wifi.
I will only post my sketch and the output for now because I don't want the initial issue to be too long, but I can also post the debug sketch and its output later on if desired.
I also added some comments starting with "NOTE:". Unrelated parts of the sketch, like printing to a display, are omitted.
My sketch:
The corresponding output:
Sometimes, I get the correct number (without the weird symbols) which is then correctly interpreted by the code, but while logging this output, that didn't work.
Thanks to this page, I was able to manually decode the response values (after removing weird symbols) and they correctly decode to 0 °C in this case.
Do you think those weird symbols originate from hardware issues like described in #52? Like I said, the raw numbers seem to be correct.
Also, thank you for maintaining this very useful library! :)
The text was updated successfully, but these errors were encountered: