diff options
author | itxp2008 <7779966+itxp2008@users.noreply.github.com> | 2018-05-04 11:24:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 11:24:06 +0300 |
commit | b935a43fa4bdb27be6ecf199a8446933984ecdf4 (patch) | |
tree | e65e0060df37c16eb49336e2383d3ad5c9d1c31f | |
parent | 4713a115fbe4a37ddf24e96edeab800843607f90 (diff) | |
download | trackermap-server-b935a43fa4bdb27be6ecf199a8446933984ecdf4.tar.gz trackermap-server-b935a43fa4bdb27be6ecf199a8446933984ecdf4.tar.bz2 trackermap-server-b935a43fa4bdb27be6ecf199a8446933984ecdf4.zip |
correct course
-rw-r--r-- | src/org/traccar/protocol/BceProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/BceProtocolDecoder.java b/src/org/traccar/protocol/BceProtocolDecoder.java index db0ec8c66..cf8fe6241 100644 --- a/src/org/traccar/protocol/BceProtocolDecoder.java +++ b/src/org/traccar/protocol/BceProtocolDecoder.java @@ -100,7 +100,7 @@ public class BceProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_SATELLITES, BitUtil.to(status, 4)); position.set(Position.KEY_HDOP, BitUtil.from(status, 4)); - position.setCourse(buf.readUnsignedByte()); + position.setCourse(buf.readUnsignedByte()*2); position.setAltitude(buf.readUnsignedShort()); position.set(Position.KEY_ODOMETER, buf.readUnsignedInt()); |