aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/ProgressProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-06 15:55:08 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-06 15:55:08 +1200
commit4749a641514d86a7fd6b369e8d4467e253ca517f (patch)
tree3c4db13d8a382f94dc56dc9dc9f94425bd86b73f /src/org/traccar/protocol/ProgressProtocolDecoder.java
parentd6367d8252d546bc2f79602f5cbbe87fd9febe95 (diff)
downloadtrackermap-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/ProgressProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/ProgressProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ProgressProtocolDecoder.java b/src/org/traccar/protocol/ProgressProtocolDecoder.java
index 8b57f52d0..8613a760b 100644
--- a/src/org/traccar/protocol/ProgressProtocolDecoder.java
+++ b/src/org/traccar/protocol/ProgressProtocolDecoder.java
@@ -101,7 +101,7 @@ public class ProgressProtocolDecoder extends BaseProtocolDecoder {
// Message index
if (type == MSG_LOGMSG) {
- position.set("archive", true);
+ position.set(Event.KEY_ARCHIVE, true);
int subtype = buf.readUnsignedShort();
if (subtype == MSG_ALARM) {
position.set(Event.KEY_ALARM, true);