diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-10 03:26:45 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-10 03:26:45 +1300 |
commit | 00c43f11c0da147d0adf3653b7494ea268e99cf2 (patch) | |
tree | 422298901604e9132942e2d0730f4612fbfb7d50 /src/org/traccar/protocol | |
parent | 8fc557730791d238c7f838c2b11c99fbcf95637d (diff) | |
download | traccar-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.tar.gz traccar-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.tar.bz2 traccar-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.zip |
Fix Siwi protocol decoder
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/SiwiProtocolDecoder.java | 1 |
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()) |