aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-15 11:31:16 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-15 11:31:16 +1300
commit8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a (patch)
treebe8ae1b6149479a00159c8800e490d28637a1bc1 /src/org
parente8f5028cab5d95792c9df34824b7c76bfa9c6222 (diff)
downloadtrackermap-server-8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a.tar.gz
trackermap-server-8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a.tar.bz2
trackermap-server-8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a.zip
Add Aplicom event info attribute
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/AplicomProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java
index a3d34cf3c..c2eb8a1f5 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java
@@ -222,7 +222,7 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder {
int event = buf.readUnsignedByte();
position.set(Event.KEY_EVENT, event);
- buf.readUnsignedByte();
+ position.set("event-info", buf.readUnsignedByte());
if ((selector & 0x0008) != 0) {
position.setValid((buf.readUnsignedByte() & 0x40) != 0);