aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorHans van den Elsen <hans.elsen@esds.nl>2016-02-12 13:16:39 +0100
committerHans van den Elsen <hans.elsen@esds.nl>2016-02-12 13:16:39 +0100
commitb7caadd9aa3da5487ca9bd64ffc6b2486f619c60 (patch)
tree20291b0031a59e78a217e6d96576a307a69e7398 /src/org/traccar/protocol
parent2e5eaa5e9d150a129318d61f01570918eb40c660 (diff)
downloadtrackermap-server-b7caadd9aa3da5487ca9bd64ffc6b2486f619c60.tar.gz
trackermap-server-b7caadd9aa3da5487ca9bd64ffc6b2486f619c60.tar.bz2
trackermap-server-b7caadd9aa3da5487ca9bd64ffc6b2486f619c60.zip
Added functionality to Minifinder protocol to send commands
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/MiniFinderProtocol.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MiniFinderProtocol.java b/src/org/traccar/protocol/MiniFinderProtocol.java
index 19df39617..d6b9a0e36 100644
--- a/src/org/traccar/protocol/MiniFinderProtocol.java
+++ b/src/org/traccar/protocol/MiniFinderProtocol.java
@@ -22,6 +22,7 @@ import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.CharacterDelimiterFrameDecoder;
import org.traccar.TrackerServer;
+import org.traccar.model.Command;
import java.util.List;
@@ -29,7 +30,7 @@ public class MiniFinderProtocol extends BaseProtocol {
public MiniFinderProtocol() {
super("minifinder");
- setSupportedCommands("CUSTOM");
+ setSupportedCommands(Command.CUSTOM);
}
@Override