diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/Gs100ProtocolDecoder.java | 4 |
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); |