diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-02 09:29:17 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-02 09:29:17 +1300 |
commit | 1c4aba3129d01a2dc982d1a6f0bed0a05f3f0a79 (patch) | |
tree | 3b5064484d013f42e239e175aa8e200b3b8b6a4e | |
parent | c2ecf80df96f9782ef716d01678ed33f886a6480 (diff) | |
download | traccar-server-1c4aba3129d01a2dc982d1a6f0bed0a05f3f0a79.tar.gz traccar-server-1c4aba3129d01a2dc982d1a6f0bed0a05f3f0a79.tar.bz2 traccar-server-1c4aba3129d01a2dc982d1a6f0bed0a05f3f0a79.zip |
Mark Flextrack positions as valid
-rw-r--r-- | src/org/traccar/protocol/FlextrackProtocolDecoder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/FlextrackProtocolDecoder.java b/src/org/traccar/protocol/FlextrackProtocolDecoder.java index 12ed78bee..9723eda02 100644 --- a/src/org/traccar/protocol/FlextrackProtocolDecoder.java +++ b/src/org/traccar/protocol/FlextrackProtocolDecoder.java @@ -143,6 +143,7 @@ public class FlextrackProtocolDecoder extends BaseProtocolDecoder { } position.setLongitude(lon); + position.setValid(true); position.setSpeed(UnitsConverter.knotsFromKph(Integer.parseInt(parser.group(index++)))); position.setCourse(Integer.parseInt(parser.group(index++))); |