aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-25 07:37:46 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-25 07:37:46 -0700
commite6960c3d49025eb63243052e4c7aedde9955fe40 (patch)
tree736e8e9c0daf8394267d71bbf20f00c08c4af324 /src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
parentd4efbfa2a7d9d8410540fd2b6409c4086da9cec5 (diff)
downloadtrackermap-server-e6960c3d49025eb63243052e4c7aedde9955fe40.tar.gz
trackermap-server-e6960c3d49025eb63243052e4c7aedde9955fe40.tar.bz2
trackermap-server-e6960c3d49025eb63243052e4c7aedde9955fe40.zip
Support Wetrust GPS tracker
Diffstat (limited to 'src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
index a8fc801e7..1ad15f39c 100644
--- a/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
@@ -123,7 +123,7 @@ public class Vt200ProtocolDecoder extends BaseProtocolDecoder {
position.set("tripStart", decodeDate(buf).getTime());
position.set("tripEnd", decodeDate(buf).getTime());
- position.set("drivingTime", buf.readUnsignedShort());
+ position.set(Position.KEY_DRIVING_TIME, buf.readUnsignedShort());
position.set(Position.KEY_FUEL_CONSUMPTION, buf.readUnsignedInt());
position.set(Position.KEY_ODOMETER_TRIP, buf.readUnsignedInt());