aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-26 13:29:22 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-26 13:29:22 +1200
commitd72ae54820d8e42571fa7eadd1477a2502df580b (patch)
tree3a33313af53477c61b038acb3ac2b16f291c1168 /src
parent53845211c51155b09808ce374b7052e9d3dd5c2e (diff)
downloadtraccar-server-d72ae54820d8e42571fa7eadd1477a2502df580b.tar.gz
traccar-server-d72ae54820d8e42571fa7eadd1477a2502df580b.tar.bz2
traccar-server-d72ae54820d8e42571fa7eadd1477a2502df580b.zip
Minor changes to Aplicom decoder
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/AplicomProtocolDecoder.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java
index aee1517e4..0d90ec771 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2013 - 2015 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,16 +16,12 @@
package org.traccar.protocol;
import java.util.Date;
-import java.util.Properties;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.traccar.BaseProtocolDecoder;
-import org.traccar.Context;
-import org.traccar.database.DataManager;
-import org.traccar.helper.Log;
import org.traccar.model.ExtendedInfoFormatter;
import org.traccar.model.Position;
@@ -102,6 +98,8 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder {
}
private static final int DEFAULT_SELECTOR = 0x0002FC;
+
+ private static final int EVENT_DATA = 119;
@Override
protected Object decode(