diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-25 21:56:47 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 16:27:02 -0500 |
commit | c5053137dddb66661a783be68bbc3f69471df4f4 (patch) | |
tree | 788dc427672baac02858c5869d207c17e4e7ea08 /src/org/traccar/protocol | |
parent | c952212547f3975fed5fef9b8ccc8bef9f6b3297 (diff) | |
download | trackermap-server-c5053137dddb66661a783be68bbc3f69471df4f4.tar.gz trackermap-server-c5053137dddb66661a783be68bbc3f69471df4f4.tar.bz2 trackermap-server-c5053137dddb66661a783be68bbc3f69471df4f4.zip |
Replaced Position.KEY_SATELLITES with Position.KEY_SATELLITES_VISIBLE as per section 2.3 in the documentation, Aplicom D v6.1.0;
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/AplicomProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java index d80c0337e..d7f77a40e 100644 --- a/src/org/traccar/protocol/AplicomProtocolDecoder.java +++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java @@ -213,7 +213,7 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder { position.setTime(new Date(buf.readUnsignedInt() * 1000)); position.setLatitude(buf.readInt() / 1000000.0); position.setLongitude(buf.readInt() / 1000000.0); - position.set(Position.KEY_SATELLITES, buf.readUnsignedByte()); + position.set(Position.KEY_SATELLITES_VISIBLE, buf.readUnsignedByte()); } if ((selector & 0x0010) != 0) { |