aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-05 04:53:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-05 04:53:34 +1200
commitd5dfbc2b8b70209e40231f5da27809548b4c8853 (patch)
treec99a47f77c16ac287ddb6e6c9a0f8584a64c5b12 /src/org/traccar/protocol/Gps103ProtocolDecoder.java
parentcdfc5a4881e21903e161782e751007d5b653f393 (diff)
downloadtrackermap-server-d5dfbc2b8b70209e40231f5da27809548b4c8853.tar.gz
trackermap-server-d5dfbc2b8b70209e40231f5da27809548b4c8853.tar.bz2
trackermap-server-d5dfbc2b8b70209e40231f5da27809548b4c8853.zip
Add new attribute keys (fix #3313)
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index ec8871865..f5ba3cff7 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -211,8 +211,8 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_FUEL_CONSUMPTION, parser.nextDouble(0));
position.set(Position.KEY_HOURS, parser.nextInt());
position.set(Position.KEY_OBD_SPEED, parser.nextInt(0));
- position.set("powerLoad", parser.next());
- position.set(Position.PREFIX_TEMP + 1, parser.nextInt());
+ position.set(Position.KEY_ENGINE_LOAD, parser.next());
+ position.set(Position.KEY_COOLANT_TEMP, parser.nextInt());
position.set(Position.KEY_THROTTLE, parser.next());
position.set(Position.KEY_RPM, parser.nextInt(0));
position.set(Position.KEY_BATTERY, parser.nextDouble(0));