aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-25 21:56:47 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-04 16:27:02 -0500
commitc5053137dddb66661a783be68bbc3f69471df4f4 (patch)
tree788dc427672baac02858c5869d207c17e4e7ea08 /src/org/traccar/protocol
parentc952212547f3975fed5fef9b8ccc8bef9f6b3297 (diff)
downloadtraccar-server-c5053137dddb66661a783be68bbc3f69471df4f4.tar.gz
traccar-server-c5053137dddb66661a783be68bbc3f69471df4f4.tar.bz2
traccar-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.java2
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) {