adamahani / android-obd-reader

Automatically exported from code.google.com/p/android-obd-reader
0 stars 0 forks source link

Implement Adaptative Timing control #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
"When receiving responses from a vehicle, the ELM327 has traditionally waited 
the time set by the AT ST hh setting for a response. To ensure that the IC 
would work with a wide variety of vehicles, the default value was set to a 
conservative (slow) value. Although it was adjustable, many people did not have 
the equipment or experience to determine a better value.
The Adaptive Timing feature automatically sets the timeout value for you, to a 
value that is based on the actual response times that your vehicle is 
responding in. As conditions such as bus loading, etc. change, the algorithm 
learns from them, and makes appropriate adjustments. Note that it always uses 
your AT ST hh setting as the maximum setting, and will never choose one which 
is longer.

There are three adaptive timing settings that are available for use. By 
default, Adaptive Timing option 1 (AT1) is enabled, and is the recommended 
setting. AT0 is used to disable Adaptive timing (so the timeout is always as 
set by AT ST), while AT2 is a more aggressive version of AT1 (the effect is 
more noticeable for very slow connections – you may not see much difference 
with faster OBD systems). The J1939 protocol does not support Adaptive Timing 
– it uses fixed timeouts as set in the standard."

One shall implement this enhancement for faster application response times.

Original issue reported on code.google.com by pjpi...@gmail.com on 22 Sep 2011 at 3:54