From 8d2df830d61243333d6785e179caa80592f1e970 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 27 Nov 2020 21:54:59 -0800 Subject: Support KS01 4G protocol --- src/main/java/org/traccar/protocol/WatchProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java index c5431be8d..d060826cf 100644 --- a/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java @@ -249,7 +249,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder { } } - } else if (type.startsWith("UD") || type.equals("AL") || type.equals("WT")) { + } else if (type.startsWith("UD") || type.startsWith("AL") || type.startsWith("WT")) { Position position = decodePosition(deviceSession, buf.toString(StandardCharsets.US_ASCII)); -- cgit v1.2.3