Package | Description |
---|---|
org.apache.edgent.samples.connectors.elm327 |
OBD-II protocol sample using ELM327.
|
org.apache.edgent.samples.connectors.obd2 |
Modifier and Type | Method and Description |
---|---|
static void |
Elm327Cmds.initializeProtocol(SerialDevice device,
Elm327Cmds protocol)
Initialize the ELM327 to a specific protocol.
|
static TStream<com.google.gson.JsonArray> |
Elm327Streams.poll(SerialDevice device,
long period,
java.util.concurrent.TimeUnit unit,
Cmd... cmds)
Periodically execute a number of ELM327 commands.
|
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
Obd2Streams.increasingTemps(SerialDevice device)
Get a stream of temperature readings which
are increasing over the last minute.
|
static TStream<com.google.gson.JsonObject> |
Obd2Streams.tach(SerialDevice device)
Get a stream containing vehicle speed (km/h)
and engine revs (rpm).
|
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641