diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 20:21:30 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 20:21:30 +1300 |
commit | 3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9 (patch) | |
tree | efe13db5bd9939b36ad104d4445e8d006efab7ca /src/org/traccar/protocol/Gps103ProtocolDecoder.java | |
parent | a7100fa9749a343a77c747a2cca8ae9e2faf91cb (diff) | |
download | trackermap-server-3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9.tar.gz trackermap-server-3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9.tar.bz2 trackermap-server-3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9.zip |
Fix GT06 protocol
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index 9c9f56b2f..935697c51 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -61,6 +61,7 @@ public class Gps103ProtocolDecoder extends GenericProtocolDecoder { /** * Decode message */ + @Override protected Object decode( ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception { @@ -143,7 +144,7 @@ public class Gps103ProtocolDecoder extends GenericProtocolDecoder { // Speed position.setSpeed(Double.valueOf(parser.group(index++))); - + // Course String course = parser.group(index++); if (course != null) { |