aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-10 11:32:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-10 11:32:05 +1200
commit1fa0849db4a18ee8a81159e87c6a4e616e9150a8 (patch)
tree60d8421bb4498212f3e872dfc3034ec4f538b39e /src/org/traccar/protocol
parent746b3b34a6ff8b28d8ce43c6257ad458a13dde52 (diff)
downloadtrackermap-server-1fa0849db4a18ee8a81159e87c6a4e616e9150a8.tar.gz
trackermap-server-1fa0849db4a18ee8a81159e87c6a4e616e9150a8.tar.bz2
trackermap-server-1fa0849db4a18ee8a81159e87c6a4e616e9150a8.zip
Mark Astra messages as valid (fix #2300)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/AstraProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/AstraProtocolDecoder.java b/src/org/traccar/protocol/AstraProtocolDecoder.java
index 1889fd3b9..d89a21082 100644
--- a/src/org/traccar/protocol/AstraProtocolDecoder.java
+++ b/src/org/traccar/protocol/AstraProtocolDecoder.java
@@ -68,6 +68,7 @@ public class AstraProtocolDecoder extends BaseProtocolDecoder {
buf.readUnsignedByte(); // index
+ position.setValid(true);
position.setLatitude(buf.readInt() * 0.000001);
position.setLongitude(buf.readInt() * 0.000001);