aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjorgejimenez88 <jorgejimenez88@outlook.com>2015-08-19 10:51:25 -0500
committerjorgejimenez88 <jorgejimenez88@outlook.com>2015-08-19 10:51:25 -0500
commit4bc01f6f575dfbf6e48608cacaab28e5edabc92d (patch)
treed6ed71a0ba4401a5c5b8ee3f7de7be0116e0b59d /src
parent3b22616657de7a1031aab206949fdc148874c0d7 (diff)
downloadtraccar-server-4bc01f6f575dfbf6e48608cacaab28e5edabc92d.tar.gz
traccar-server-4bc01f6f575dfbf6e48608cacaab28e5edabc92d.tar.bz2
traccar-server-4bc01f6f575dfbf6e48608cacaab28e5edabc92d.zip
Update MeitrackProtocol.java
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeitrackProtocol.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocol.java b/src/org/traccar/protocol/MeitrackProtocol.java
index bcc224a94..515330697 100644
--- a/src/org/traccar/protocol/MeitrackProtocol.java
+++ b/src/org/traccar/protocol/MeitrackProtocol.java
@@ -20,14 +20,21 @@ import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.TrackerServer;
+import org.traccar.model.Command;
import java.nio.ByteOrder;
import java.util.List;
+
public class MeitrackProtocol extends BaseProtocol {
public MeitrackProtocol() {
super("meitrack");
+ setSupportedCommands(
+ Command.TYPE_ENGINE_STOP,
+ Command.TYPE_ENGINE_RESUME,
+ Command.TYPE_ALARM_ARM,
+ Command.TYPE_ALARM_DISARM);
}
@Override