aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-07-31 22:40:27 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-07-31 22:40:27 +0400
commitfba1e6f6f43b35a520a5bd09f45796287b06293f (patch)
treed2267e5c3a61f176059135919facb2154033db1c /src/org/traccar/protocol
parentbafb4ecde1ecd7d376fd43c3cb58107fc0a16ee3 (diff)
downloadtrackermap-server-fba1e6f6f43b35a520a5bd09f45796287b06293f.tar.gz
trackermap-server-fba1e6f6f43b35a520a5bd09f45796287b06293f.tar.bz2
trackermap-server-fba1e6f6f43b35a520a5bd09f45796287b06293f.zip
Fix GL200 decoder (fix #33)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index 506b55790..63def5ddf 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -42,7 +42,7 @@ public class Gl200ProtocolDecoder extends GenericProtocolDecoder {
*/
static private Pattern pattern = Pattern.compile(
"\\+RESP:GT...," +
- "\\d{6}," + // Protocol version
+ "[0-9a-fA-F]{6}," + // Protocol version
"(\\d{15})," + // IMEI
"[^,]*," + // Device name
"(?:(?:\\d," + // Report ID / Geo mode