elm useful

This commit is contained in:
rusefillc 2021-12-05 10:19:42 -05:00
parent 157ee72944
commit 3b1b5c085e
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}