aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-27 21:54:59 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-27 21:54:59 -0800
commit8d2df830d61243333d6785e179caa80592f1e970 (patch)
tree5fe7ca16fd504f58867e16fec235a7e5c445e5c8 /src/main/java/org/traccar/protocol
parent59847a8ffeab8ffaefd692798e7bbb173a2b92bc (diff)
downloadtrackermap-server-8d2df830d61243333d6785e179caa80592f1e970.tar.gz
trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.tar.bz2
trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.zip
Support KS01 4G protocol
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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));