aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-27 09:52:19 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-27 09:52:19 +1300
commit6710bc0d1f0667ea2a3e9e3c038d9412dd6195f1 (patch)
tree910da382a806e298baf037b839d5734ec8b20ab5 /src/org/traccar
parente586ffd374f7a66d1077d5a9cd1d6380655a23dc (diff)
downloadtrackermap-server-6710bc0d1f0667ea2a3e9e3c038d9412dd6195f1.tar.gz
trackermap-server-6710bc0d1f0667ea2a3e9e3c038d9412dd6195f1.tar.bz2
trackermap-server-6710bc0d1f0667ea2a3e9e3c038d9412dd6195f1.zip
Update Xexun decoder regex pattern
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/XexunProtocolDecoder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/XexunProtocolDecoder.java b/src/org/traccar/protocol/XexunProtocolDecoder.java
index bbf4d9453..4d4831a20 100644
--- a/src/org/traccar/protocol/XexunProtocolDecoder.java
+++ b/src/org/traccar/protocol/XexunProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 - 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2012 - 2016 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.
@@ -38,8 +38,8 @@ public class XexunProtocolDecoder extends BaseProtocolDecoder {
.expression("G[PN]RMC,")
.number("(dd)(dd)(dd).(d+),") // time
.expression("([AV]),") // validity
- .number("(d+?)?(d?d.d+),([NS]),") // latitude
- .number("(d+?)?(d?d.d+),([EW])?,") // longitude
+ .number("(d*?)(d?d.d+),([NS]),") // latitude
+ .number("(d*?)(d?d.d+),([EW])?,") // longitude
.number("(d+.?d*),") // speed
.number("(d+.?d*)?,") // course
.number("(dd)(dd)(dd),") // date