aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-10-17 16:54:56 -0700
committerAnton Tananaev <anton@traccar.org>2022-10-17 16:54:56 -0700
commitdcecec13f6392980512e0ded566680c3dd657ab4 (patch)
tree2e571d1cdd7ea0232cdc3d3173f8a0b413612953 /src/main/java/org
parent94bb9f2ace4134b4cfc9d0ca2a16f79ce9ec4bce (diff)
downloadtrackermap-server-dcecec13f6392980512e0ded566680c3dd657ab4.tar.gz
trackermap-server-dcecec13f6392980512e0ded566680c3dd657ab4.tar.bz2
trackermap-server-dcecec13f6392980512e0ded566680c3dd657ab4.zip
Fix Suntech alert decoding
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
index e67bd7a71..047a1822a 100644
--- a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
@@ -856,7 +856,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder {
} else {
- String[] values = buf.toString(StandardCharsets.US_ASCII).split(";");
+ String[] values = buf.toString(StandardCharsets.US_ASCII).split(";", -1);
prefix = values[0];
if (prefix.equals("CRR")) {