aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/traccar/protocol/Gs100ProtocolDecoder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/Gs100ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gs100ProtocolDecoder.java
index d55773785..28a42476c 100644
--- a/src/main/java/org/traccar/protocol/Gs100ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gs100ProtocolDecoder.java
@@ -110,6 +110,10 @@ public class Gs100ProtocolDecoder extends BaseProtocolDecoder {
position.setSpeed(Integer.parseInt(other.substring(0, 5)));
position.setCourse(Integer.parseInt(other.substring(5, 8)));
+ } else {
+
+ getLastLocation(position, null);
+
}
positions.add(position);