diff options
Diffstat (limited to 'src/org/traccar/protocol/MeitrackProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocol.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocol.java b/src/org/traccar/protocol/MeitrackProtocol.java index bcc224a94..6f452aa33 100644 --- a/src/org/traccar/protocol/MeitrackProtocol.java +++ b/src/org/traccar/protocol/MeitrackProtocol.java @@ -15,19 +15,24 @@ */ package org.traccar.protocol; +import java.nio.ByteOrder; +import java.util.List; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty.handler.codec.string.StringEncoder; import org.traccar.BaseProtocol; import org.traccar.TrackerServer; - -import java.nio.ByteOrder; -import java.util.List; +import org.traccar.model.Command; 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 |