Closed venki3v closed 5 years ago
I'm going to go out on a limb, and guess that your adapter does not fully support the ELM327 spec. Specifically, the feature where newlines re-execute the previous command. Try again, but with this parameter in the Async constructor:
connection = obd.Async(fast=False)
Hi is there safe way without modifying source code to get fast responses async when ELM not support command rewrite ?
The support for the "fast" command is in the ELM327 spec (page 12) since version 1. So it should work for any real ELM327 adaptor.
If it doesn't it probably means that your adaptor is not fully compliant.
The other option is to make sure you are using the latest master branch, as that no longer adds the trailing '\n' charecter which might help fix the problem.
I have a question how async call back supposed to work.
If i use the below code snippet.
If i use a elm 327 freematic simulator to change engine rpm values multiple times , but the callback is fired successfuly only the first time, for any subsequent change in rpm its not able to read the value from the serial port .
Will the call back be fired whenever the engine rpm changes. I am using elm 327 simulator to send values for engine rpm, fuel level and fuel pressure.