From 92c3085546df5f3160c18c536c6183d15ef4b781 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 17 May 2016 15:53:04 +0500 Subject: Custom command support for web-interface --- src/org/traccar/BaseProtocol.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org') diff --git a/src/org/traccar/BaseProtocol.java b/src/org/traccar/BaseProtocol.java index 446f57d65..d1791d673 100644 --- a/src/org/traccar/BaseProtocol.java +++ b/src/org/traccar/BaseProtocol.java @@ -42,6 +42,7 @@ public abstract class BaseProtocol implements Protocol { public void setSupportedCommands(String... commands) { supportedCommands.addAll(Arrays.asList(commands)); + supportedCommands.add(Command.TYPE_CUSTOM); } @Override -- cgit v1.2.3