diff options
author | seym45 <seym45@gmail.com> | 2023-08-10 01:46:02 +0400 |
---|---|---|
committer | seym45 <seym45@gmail.com> | 2023-08-10 01:46:02 +0400 |
commit | 4157920142182c080dc6a4f21f19417d068fedc5 (patch) | |
tree | 10072c284b044f45af29fbf0c7c906ce12c21f59 | |
parent | 867404e9d7ffc6019d8d87dedc892aef1e70aec8 (diff) | |
download | trackermap-server-4157920142182c080dc6a4f21f19417d068fedc5.tar.gz trackermap-server-4157920142182c080dc6a4f21f19417d068fedc5.tar.bz2 trackermap-server-4157920142182c080dc6a4f21f19417d068fedc5.zip |
Set support for engine management
-rw-r--r-- | src/main/java/org/traccar/protocol/GatorProtocol.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/GatorProtocol.java b/src/main/java/org/traccar/protocol/GatorProtocol.java index 46862f583..096095463 100644 --- a/src/main/java/org/traccar/protocol/GatorProtocol.java +++ b/src/main/java/org/traccar/protocol/GatorProtocol.java @@ -29,6 +29,8 @@ public class GatorProtocol extends BaseProtocol { @Inject public GatorProtocol(Config config) { setSupportedDataCommands(Command.TYPE_POSITION_SINGLE); + setSupportedDataCommands(Command.TYPE_ENGINE_RESUME); + setSupportedDataCommands(Command.TYPE_ENGINE_STOP); addServer(new TrackerServer(config, getName(), false) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline, Config config) { |