From 51542a55b769cb82cdc04ad7119632b9561478f3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 May 2017 08:00:49 +1200 Subject: Add Watch heart message (fix #3171) --- src/org/traccar/protocol/WatchProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') 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()); -- cgit v1.2.3