diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-09-25 23:49:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-09-25 23:49:51 +1200 |
commit | 1967d118a8132b68b14ea5ed4a4d65700f2c1a87 (patch) | |
tree | 34b273e70d608c843fa4d13f9bccfc354f15c089 | |
parent | 6f4411382458a9728fee8638f90f64a2590d9f5d (diff) | |
download | trackermap-server-1967d118a8132b68b14ea5ed4a4d65700f2c1a87.tar.gz trackermap-server-1967d118a8132b68b14ea5ed4a4d65700f2c1a87.tar.bz2 trackermap-server-1967d118a8132b68b14ea5ed4a4d65700f2c1a87.zip |
Fix GL200 location validity (fix #888)
-rw-r--r-- | src/org/traccar/protocol/Gl200ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java index 14e8df60e..39fdcca78 100644 --- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java @@ -81,7 +81,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder { } // Validity - position.setValid(Integer.valueOf(parser.group(index++)) == 0); + position.setValid(Integer.valueOf(parser.group(index++)) < 20); // Position info position.setSpeed(Double.valueOf(parser.group(index++))); |