aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-10 03:26:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-10 03:26:45 +1300
commit00c43f11c0da147d0adf3653b7494ea268e99cf2 (patch)
tree422298901604e9132942e2d0730f4612fbfb7d50 /src
parent8fc557730791d238c7f838c2b11c99fbcf95637d (diff)
downloadtrackermap-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.tar.gz
trackermap-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.tar.bz2
trackermap-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.zip
Fix Siwi protocol decoder
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/SiwiProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/SiwiProtocolDecoder.java b/src/org/traccar/protocol/SiwiProtocolDecoder.java
index 9c9e71e2e..78f32d01e 100644
--- a/src/org/traccar/protocol/SiwiProtocolDecoder.java
+++ b/src/org/traccar/protocol/SiwiProtocolDecoder.java
@@ -88,6 +88,7 @@ public class SiwiProtocolDecoder extends BaseProtocolDecoder {
position.setLatitude(parser.nextDouble());
position.setLongitude(parser.nextDouble());
position.setAltitude(parser.nextDouble());
+ position.setCourse(parser.nextInt());
DateBuilder dateBuilder = new DateBuilder(TimeZone.getTimeZone("IST"))
.setTime(parser.nextInt(), parser.nextInt(), parser.nextInt())