diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-27 21:54:59 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-27 21:54:59 -0800 |
commit | 8d2df830d61243333d6785e179caa80592f1e970 (patch) | |
tree | 5fe7ca16fd504f58867e16fec235a7e5c445e5c8 /src/main | |
parent | 59847a8ffeab8ffaefd692798e7bbb173a2b92bc (diff) | |
download | trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.tar.gz trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.tar.bz2 trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.zip |
Support KS01 4G protocol
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/WatchProtocolDecoder.java | 2 |
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)); |