aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-17 08:00:49 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-17 08:00:49 +1200
commit51542a55b769cb82cdc04ad7119632b9561478f3 (patch)
tree29994f4f64907af60547b38b41ad2f02ca681fd2 /src/org
parent1306899a67b28ad9cc0e6467291f3c8597df5479 (diff)
downloadtraccar-server-51542a55b769cb82cdc04ad7119632b9561478f3.tar.gz
traccar-server-51542a55b769cb82cdc04ad7119632b9561478f3.tar.bz2
traccar-server-51542a55b769cb82cdc04ad7119632b9561478f3.zip
Add Watch heart message (fix #3171)
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/WatchProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java
index dbd5072e7..437cf3407 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/org/traccar/protocol/WatchProtocolDecoder.java
@@ -206,7 +206,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
sendResponse(channel, manufacturer, id, "TKQ");
- } else if (type.equals("PULSE")) {
+ } else if (type.equals("PULSE") || type.equals("heart")) {
Position position = new Position();
position.setProtocol(getProtocolName());