diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-21 17:09:35 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-21 17:09:35 +1300 |
commit | b6bf899a4fc9a97a69f8424cad6990e4d533e57d (patch) | |
tree | 54b785cd69b28e4d8598d762b219b70d87bc9d01 /src/org/traccar/model/Command.java | |
parent | 568e88255e282084b8af46aca3acf27f0822b2d2 (diff) | |
download | trackermap-server-b6bf899a4fc9a97a69f8424cad6990e4d533e57d.tar.gz trackermap-server-b6bf899a4fc9a97a69f8424cad6990e4d533e57d.tar.bz2 trackermap-server-b6bf899a4fc9a97a69f8424cad6990e4d533e57d.zip |
Implement more Ruptela commands
Diffstat (limited to 'src/org/traccar/model/Command.java')
-rw-r--r-- | src/org/traccar/model/Command.java | 7 |
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; |