aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Avl301ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 21:32:31 +1300
committerGitHub <noreply@github.com>2017-02-21 21:32:31 +1300
commit6838a1264922e656da2ed8b4ce390fa17e039571 (patch)
tree0a66e360c6d3b13f24c60e5300985ce121a6b25c /src/org/traccar/protocol/Avl301ProtocolDecoder.java
parent6ad0ee71f38feb1f4c57c0b22815038a0273e4c5 (diff)
parent888c392af40187f3a0ecc3395495db9acd85b827 (diff)
downloadtrackermap-server-6838a1264922e656da2ed8b4ce390fa17e039571.tar.gz
trackermap-server-6838a1264922e656da2ed8b4ce390fa17e039571.tar.bz2
trackermap-server-6838a1264922e656da2ed8b4ce390fa17e039571.zip
Merge pull request #2906 from jon-stumpf/jss-minifinder
MiniFinder Updates
Diffstat (limited to 'src/org/traccar/protocol/Avl301ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Avl301ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Avl301ProtocolDecoder.java b/src/org/traccar/protocol/Avl301ProtocolDecoder.java
index c19b96cb9..cc61be91b 100644
--- a/src/org/traccar/protocol/Avl301ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Avl301ProtocolDecoder.java
@@ -100,7 +100,7 @@ public class Avl301ProtocolDecoder extends BaseProtocolDecoder {
int gpsLength = buf.readUnsignedByte(); // gps len and sat
position.set(Position.KEY_SATELLITES, gpsLength & 0xf);
- buf.readUnsignedByte(); // satellites
+ position.set(Position.KEY_SATELLITES_VISIBLE, buf.readUnsignedByte()); // satellites
double latitude = buf.readUnsignedInt() / 600000.0;
double longitude = buf.readUnsignedInt() / 600000.0;