aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/t55/T55ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-03-04 10:36:01 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2012-03-04 10:36:01 +0000
commit23099b942619a2470e6ad5dace4146cecf16f300 (patch)
tree028e253206b68a514c1682c3aaf5932afe1c5bf9 /src/org/traccar/protocol/t55/T55ProtocolDecoder.java
parenta5ef9a5f8b496787e7ca3f8510dea9d283105f25 (diff)
downloadtrackermap-server-23099b942619a2470e6ad5dace4146cecf16f300.tar.gz
trackermap-server-23099b942619a2470e6ad5dace4146cecf16f300.tar.bz2
trackermap-server-23099b942619a2470e6ad5dace4146cecf16f300.zip
Diffstat (limited to 'src/org/traccar/protocol/t55/T55ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/t55/T55ProtocolDecoder.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/t55/T55ProtocolDecoder.java b/src/org/traccar/protocol/t55/T55ProtocolDecoder.java
index 8247b9fd4..ad674d4a8 100644
--- a/src/org/traccar/protocol/t55/T55ProtocolDecoder.java
+++ b/src/org/traccar/protocol/t55/T55ProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 Anton Tananaev (anton@tananaev.com)
+ * Copyright 2012 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ import org.jboss.netty.channel.ChannelState;
import org.jboss.netty.channel.ChannelStateEvent;
/**
- * Gps 103 tracker protocol decoder
+ * T55 tracker protocol decoder
*/
public class T55ProtocolDecoder extends OneToOneDecoder {
@@ -70,10 +70,10 @@ public class T55ProtocolDecoder extends OneToOneDecoder {
"([NS])," +
"(\\d{3})(\\d{2}.\\d{4})," + // Longitude (DDDMM.MMMM)
"([EW])," +
- "(\\d+.\\d{2})?," + // Speed
- "(\\d+.\\d{2})?," + // Course
+ "(\\d+.\\d{2})?," + // Speed
+ "(\\d+.\\d{2})?," + // Course
"(\\d{2})(\\d{2})(\\d{2})" + // Date (DDMMYY)
- ".+"); // Other (Checksumm)
+ ".+"); // Other (Checksumm)
/**
* Decode message