aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WatchProtocolEncoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/WatchProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/WatchProtocolEncoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolEncoder.java b/src/org/traccar/protocol/WatchProtocolEncoder.java
index a84cf9ef0..aa7db6a32 100644
--- a/src/org/traccar/protocol/WatchProtocolEncoder.java
+++ b/src/org/traccar/protocol/WatchProtocolEncoder.java
@@ -106,6 +106,8 @@ public class WatchProtocolEncoder extends StringProtocolEncoder {
return formatCommand(command, "UPLOAD,{%s}", Command.KEY_FREQUENCY);
case Command.TYPE_SET_TIMEZONE:
return formatCommand(command, "LZ,,{%s}", Command.KEY_TIMEZONE);
+ case Command.TYPE_SET_HEARTS:
+ return formatCommand(command, "FLOWER,{%s}", Command.KEY_HEARTS);
default:
Log.warning(new UnsupportedOperationException(command.getType()));
break;