aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Command.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/Command.java')
-rw-r--r--src/org/traccar/model/Command.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/traccar/model/Command.java b/src/org/traccar/model/Command.java
index 016862214..190c0d753 100644
--- a/src/org/traccar/model/Command.java
+++ b/src/org/traccar/model/Command.java
@@ -42,6 +42,11 @@ public class Command extends Message {
public static final String TYPE_VOICE_MONITORING = "voiceMonitoring";
public static final String TYPE_SET_AGPS = "setAgps";
public static final String TYPE_SET_INDICATOR = "setIndicator";
+ public static final String TYPE_CONFIGURATION = "configuration";
+ public static final String TYPE_GET_VERSION = "getVersion";
+ public static final String TYPE_FIRMWARE_UPDATE = "firmwareUpdate";
+ public static final String TYPE_SET_CONNECTION = "setConnection";
+ public static final String TYPE_SET_ODOMETER = "setOdometer";
public static final String TYPE_MODE_POWER_SAVING = "modePowerSaving";
public static final String TYPE_MODE_DEEP_SLEEP = "modeDeepSleep";
@@ -65,6 +70,8 @@ public class Command extends Message {
public static final String KEY_DATA = "data";
public static final String KEY_INDEX = "index";
public static final String KEY_PHONE = "phone";
+ public static final String KEY_SERVER = "server";
+ public static final String KEY_PORT = "port";
private boolean textChannel;