diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-04 21:48:55 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-04 21:48:55 +1200 |
commit | 852343a73b52d3e2c924f1803a0fa2d3ca8443de (patch) | |
tree | 19402733473f7f051a282724200166458bf37da9 /src/org/traccar/protocol | |
parent | 17b8b50bfef6412cc41c08721aaf4a5e3a42eea7 (diff) | |
download | traccar-server-852343a73b52d3e2c924f1803a0fa2d3ca8443de.tar.gz traccar-server-852343a73b52d3e2c924f1803a0fa2d3ca8443de.tar.bz2 traccar-server-852343a73b52d3e2c924f1803a0fa2d3ca8443de.zip |
Update list of supported watch commands
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/WatchProtocol.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocol.java b/src/org/traccar/protocol/WatchProtocol.java index 05308a7e2..325137c47 100644 --- a/src/org/traccar/protocol/WatchProtocol.java +++ b/src/org/traccar/protocol/WatchProtocol.java @@ -31,7 +31,15 @@ public class WatchProtocol extends BaseProtocol { public WatchProtocol() { super("watch"); setSupportedCommands( - Command.TYPE_REBOOT_DEVICE); + Command.TYPE_SOS_NUMBER, + Command.TYPE_ALARM_SOS, + Command.TYPE_ALARM_BATTERY, + Command.TYPE_REBOOT_DEVICE, + Command.TYPE_ALARM_REMOVE, + Command.TYPE_SILENCE_TIME, + Command.TYPE_ALARM_CLOCK, + Command.TYPE_SET_PHONEBOOK, + Command.TYPE_VOICE_MESSAGE); } @Override |