diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-15 11:31:16 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-15 11:31:16 +1300 |
commit | 8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a (patch) | |
tree | be8ae1b6149479a00159c8800e490d28637a1bc1 /src | |
parent | e8f5028cab5d95792c9df34824b7c76bfa9c6222 (diff) | |
download | traccar-server-8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a.tar.gz traccar-server-8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a.tar.bz2 traccar-server-8bd1ebe564911cdf79ff5b2ab7e9b4d02bd3b21a.zip |
Add Aplicom event info attribute
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/AplicomProtocolDecoder.java | 2 |
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); |