diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-18 09:27:16 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-18 09:27:16 -0500 |
commit | ed6a26f161f91e9e6ea3d306135e26657b4b8416 (patch) | |
tree | 0bc71c2d8017faec985263501caf0b34c51e2336 /src/org/traccar/protocol/Avl301ProtocolDecoder.java | |
parent | 354bd0ee9074c6b6ba6f29eead1bd07f978d880f (diff) | |
download | traccar-server-ed6a26f161f91e9e6ea3d306135e26657b4b8416.tar.gz traccar-server-ed6a26f161f91e9e6ea3d306135e26657b4b8416.tar.bz2 traccar-server-ed6a26f161f91e9e6ea3d306135e26657b4b8416.zip |
Updated two other protocols to provide "satVisible" information;
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; |