aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Event.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-28 11:53:04 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-28 11:53:04 +1300
commit2a690606569f042b845da1f61b308698645ad3fc (patch)
treeaa67caf5816d3d214d0a21b007e2db784e99f12e /src/org/traccar/model/Event.java
parent9b08cbbca6a35862fbc33e48f5d876899954a17d (diff)
downloadtrackermap-server-2a690606569f042b845da1f61b308698645ad3fc.tar.gz
trackermap-server-2a690606569f042b845da1f61b308698645ad3fc.tar.bz2
trackermap-server-2a690606569f042b845da1f61b308698645ad3fc.zip
Decode OBD odometer value
Diffstat (limited to 'src/org/traccar/model/Event.java')
-rw-r--r--src/org/traccar/model/Event.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/model/Event.java b/src/org/traccar/model/Event.java
index 2f78dd0f4..cadca767b 100644
--- a/src/org/traccar/model/Event.java
+++ b/src/org/traccar/model/Event.java
@@ -81,7 +81,9 @@ public abstract class Event {
public static final String KEY_DISTANCE = "distance";
public static final String KEY_DOOR = "door";
public static final String KEY_RPM = "rpm";
- public static final String KEY_SPEED = "speed"; // OBD speed
+
+ public static final String KEY_OBD_SPEED = "speed";
+ public static final String KEY_OBD_ODOMETER = "odometer";
// Starts with 1 not 0
public static final String PREFIX_TEMP = "temp";