aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-23 08:31:14 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-07-23 08:31:14 -0700
commit44f0b1f5b7b575d38746f7a4f98beea336f963db (patch)
tree3191bde2e118a4ae3eba6a451b44a5576513d02e /src/main/java/org/traccar/protocol
parent1bafb567e4a2122acf06540d11f2889ca9b473ad (diff)
downloadtrackermap-server-44f0b1f5b7b575d38746f7a4f98beea336f963db.tar.gz
trackermap-server-44f0b1f5b7b575d38746f7a4f98beea336f963db.tar.bz2
trackermap-server-44f0b1f5b7b575d38746f7a4f98beea336f963db.zip
Fix message splitting
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
index c4b29850d..ebc7e7c04 100644
--- a/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
@@ -243,7 +243,7 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder {
} else {
List<Position> positions = new LinkedList<>();
- for (String item : parser.next().split("$")) {
+ for (String item : parser.next().split("\\$")) {
positions.add(decodePosition(deviceSession, item));
}
return positions;