From b7caadd9aa3da5487ca9bd64ffc6b2486f619c60 Mon Sep 17 00:00:00 2001 From: Hans van den Elsen Date: Fri, 12 Feb 2016 13:16:39 +0100 Subject: Added functionality to Minifinder protocol to send commands --- src/org/traccar/protocol/MiniFinderProtocol.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/org/traccar/protocol') 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 -- cgit v1.2.3