aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAlexander Menk <menk@mestrona.net>2016-12-20 08:41:59 +0100
committerAlexander Menk <menk@mestrona.net>2016-12-20 08:41:59 +0100
commit884f0d60bb31b063fdac35d91dcd51fe3987f9be (patch)
treeb66018eafc4c99f6368d9e535cc5eb8ad2d605c3 /src/org/traccar/model
parent2c8187fbef2838d90dd39e7636a7f30a6ac3e343 (diff)
downloadtrackermap-server-884f0d60bb31b063fdac35d91dcd51fe3987f9be.tar.gz
trackermap-server-884f0d60bb31b063fdac35d91dcd51fe3987f9be.tar.bz2
trackermap-server-884f0d60bb31b063fdac35d91dcd51fe3987f9be.zip
#2702Implement setHearts for watch Protocol
Using this function you can display a certain amount of hearts on the watch. Nothing more, nothing less.
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Command.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/model/Command.java b/src/org/traccar/model/Command.java
index 51a61b966..2d4a4458b 100644
--- a/src/org/traccar/model/Command.java
+++ b/src/org/traccar/model/Command.java
@@ -41,6 +41,7 @@ public class Command extends Message {
public static final String TYPE_OUTPUT_CONTROL = "outputControl";
public static final String TYPE_VOICE_MONITORING = "voiceMonitoring";
public static final String TYPE_SET_AGPS = "setAgps";
+ public static final String TYPE_SET_HEARTS = "setHearts";
public static final String TYPE_MODE_POWER_SAVING = "modePowerSaving";
public static final String TYPE_MODE_DEEP_SLEEP = "modeDeepSleep";
@@ -63,5 +64,6 @@ 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_HEARTS = "hearts";
}