aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-18 22:52:00 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-18 22:52:19 +1200
commit0be2a81b30c91f065b4c038697a9d4c740a7dc9c (patch)
tree53b130a1bba56b9d269a562b6c9fd3ab389f131b /src/org/traccar/protocol
parentee66c9239381168b36eaa68cd1e962e4034a81f2 (diff)
downloadtraccar-server-0be2a81b30c91f065b4c038697a9d4c740a7dc9c.tar.gz
traccar-server-0be2a81b30c91f065b4c038697a9d4c740a7dc9c.tar.bz2
traccar-server-0be2a81b30c91f065b4c038697a9d4c740a7dc9c.zip
Add support for WT watch message type
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/WatchProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java
index 437cf3407..3ec33d210 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/org/traccar/protocol/WatchProtocolDecoder.java
@@ -166,7 +166,8 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
}
}
- } else if (type.equals("UD") || type.equals("UD2") || type.equals("UD3") || type.equals("AL")) {
+ } else if (type.equals("UD") || type.equals("UD2") || type.equals("UD3")
+ || type.equals("AL") || type.equals("WT")) {
if (type.equals("AL")) {
sendResponse(channel, manufacturer, id, "AL");