aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200ProtocolDecoder.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/protocol/Gl200ProtocolDecoder.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/protocol/Gl200ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index a7cf1121b..61a0aed39 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -121,7 +121,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
// OBD
position.set(Event.KEY_RPM, parser.group(index++));
- position.set(Event.KEY_SPEED, parser.group(index++));
+ position.set(Event.KEY_OBD_SPEED, parser.group(index++));
position.set(Event.PREFIX_TEMP + 1, parser.group(index++));
position.set("fuel-consumption", parser.group(index++));
position.set("dtcs-cleared-distance", parser.group(index++));
@@ -130,7 +130,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
position.set("dtcs-codes", parser.group(index++));
position.set("throttle-position", parser.group(index++));
position.set(Event.KEY_FUEL, parser.group(index++));
- position.set("odb-odometer", parser.group(index++));
+ position.set(Event.KEY_OBD_ODOMETER, parser.group(index++));
// Validity
position.setValid(Integer.valueOf(parser.group(index++)) < 20);