elm useful
This commit is contained in:
parent
157ee72944
commit
3b1b5c085e
|
@ -18,6 +18,7 @@ public class Elm327Connector implements Closeable {
|
|||
private final static Logging log = Logging.getLogging(Elm327Connector.class);
|
||||
private static final byte[] HEX_ARRAY = "0123456789ABCDEF".getBytes();
|
||||
|
||||
// public final static int ELM327_DEFAULT_BAUDRATE = 115200; // OBDlink SX, 1.3a
|
||||
public final static int ELM327_DEFAULT_BAUDRATE = 38400;
|
||||
private final static int BIG_TIMEOUT = 2 * SECOND;
|
||||
private final static int TIMEOUT = 70;
|
||||
|
@ -179,7 +180,7 @@ public class Elm327Connector implements Closeable {
|
|||
log.info("ELM DETECTED on " + msg + "! " + ELM327_DEFAULT_BAUDRATE);
|
||||
return true;
|
||||
}
|
||||
log.info("ELM NOT FOUND on " + msg + "!" + ELM327_DEFAULT_BAUDRATE);
|
||||
log.info("ELM NOT FOUND on " + msg + "! " + ELM327_DEFAULT_BAUDRATE);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue