aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-05-04 21:48:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-05-04 21:48:55 +1200
commit852343a73b52d3e2c924f1803a0fa2d3ca8443de (patch)
tree19402733473f7f051a282724200166458bf37da9 /src/org/traccar/protocol
parent17b8b50bfef6412cc41c08721aaf4a5e3a42eea7 (diff)
downloadtraccar-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.java10
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