aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorseym45 <seym45@gmail.com>2023-08-10 01:46:02 +0400
committerseym45 <seym45@gmail.com>2023-08-10 01:46:02 +0400
commit4157920142182c080dc6a4f21f19417d068fedc5 (patch)
tree10072c284b044f45af29fbf0c7c906ce12c21f59 /src/main/java
parent867404e9d7ffc6019d8d87dedc892aef1e70aec8 (diff)
downloadtrackermap-server-4157920142182c080dc6a4f21f19417d068fedc5.tar.gz
trackermap-server-4157920142182c080dc6a4f21f19417d068fedc5.tar.bz2
trackermap-server-4157920142182c080dc6a4f21f19417d068fedc5.zip
Set support for engine management
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/GatorProtocol.java2
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) {