aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-12-11 21:03:16 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-12-11 21:03:16 +1300
commit7cc49096e7ea6965a3164ff3ffd66876bc94646c (patch)
treed58c9ab2903bb9169283d3dc967aa8692319169b /src/org/traccar/protocol
parent77841ad1ad5f50c41437361a9c3b885935478a4f (diff)
downloadtrackermap-server-7cc49096e7ea6965a3164ff3ffd66876bc94646c.tar.gz
trackermap-server-7cc49096e7ea6965a3164ff3ffd66876bc94646c.tar.bz2
trackermap-server-7cc49096e7ea6965a3164ff3ffd66876bc94646c.zip
Fix Xexun protocol decoder (fix #107)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/XexunProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/XexunProtocolDecoder.java b/src/org/traccar/protocol/XexunProtocolDecoder.java
index 2da1c68ac..6610730e9 100644
--- a/src/org/traccar/protocol/XexunProtocolDecoder.java
+++ b/src/org/traccar/protocol/XexunProtocolDecoder.java
@@ -48,7 +48,7 @@ public class XexunProtocolDecoder extends GenericProtocolDecoder {
"([AV])," + // Validity
"([\\d]{2})([\\d]{2}.[\\d]{4})," + // Latitude (DDMM.MMMM)
"([NS])," +
- "([\\d]{3})([\\d]{2}.[\\d]{4})," + // Longitude (DDDMM.MMMM)
+ "([\\d]{2,3})([\\d]{2}.[\\d]{4})," + // Longitude (DDDMM.MMMM)
"([EW])," +
"([\\d]+.[\\d]+)," + // Speed
"([\\d]+.[\\d]+)?," + // Course