diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-21 21:32:31 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-21 21:32:31 +1300 |
commit | 6838a1264922e656da2ed8b4ce390fa17e039571 (patch) | |
tree | 0a66e360c6d3b13f24c60e5300985ce121a6b25c /src/org/traccar/protocol/Avl301ProtocolDecoder.java | |
parent | 6ad0ee71f38feb1f4c57c0b22815038a0273e4c5 (diff) | |
parent | 888c392af40187f3a0ecc3395495db9acd85b827 (diff) | |
download | traccar-server-6838a1264922e656da2ed8b4ce390fa17e039571.tar.gz traccar-server-6838a1264922e656da2ed8b4ce390fa17e039571.tar.bz2 traccar-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.java | 2 |
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; |