aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-09 20:21:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-09 20:21:30 +1300
commit3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9 (patch)
treeefe13db5bd9939b36ad104d4445e8d006efab7ca /src/org/traccar/protocol/Gps103ProtocolDecoder.java
parenta7100fa9749a343a77c747a2cca8ae9e2faf91cb (diff)
downloadtrackermap-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.java3
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) {