diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-06 15:55:08 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-06 15:55:08 +1200 |
commit | 4749a641514d86a7fd6b369e8d4467e253ca517f (patch) | |
tree | 3c4db13d8a382f94dc56dc9dc9f94425bd86b73f /src/org/traccar/protocol/ApelProtocolDecoder.java | |
parent | d6367d8252d546bc2f79602f5cbbe87fd9febe95 (diff) | |
download | trackermap-server-4749a641514d86a7fd6b369e8d4467e253ca517f.tar.gz trackermap-server-4749a641514d86a7fd6b369e8d4467e253ca517f.tar.bz2 trackermap-server-4749a641514d86a7fd6b369e8d4467e253ca517f.zip |
Implement GVT-800 decoding (fix #1334)
Diffstat (limited to 'src/org/traccar/protocol/ApelProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/ApelProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ApelProtocolDecoder.java b/src/org/traccar/protocol/ApelProtocolDecoder.java index 6ce823a29..09c1a79f1 100644 --- a/src/org/traccar/protocol/ApelProtocolDecoder.java +++ b/src/org/traccar/protocol/ApelProtocolDecoder.java @@ -146,7 +146,7 @@ public class ApelProtocolDecoder extends BaseProtocolDecoder { // Message index int subtype = type; if (type == MSG_TYPE_LOG_RECORDS) { - position.set("archive", true); + position.set(Event.KEY_ARCHIVE, true); lastIndex = buf.readUnsignedInt() + 1; position.set(Event.KEY_INDEX, lastIndex); |