aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/XexunProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-08-27 21:29:48 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-08-27 21:29:48 +1200
commit4e77075ea6c333e0eb46204faf6b3f350a1cb984 (patch)
tree2a6eaaf7488e75dbb7c81222934825994f0f86c4 /src/org/traccar/protocol/XexunProtocolDecoder.java
parentb35863ef77196a1ca060169df0c022eb25d99a7d (diff)
downloadtrackermap-server-4e77075ea6c333e0eb46204faf6b3f350a1cb984.tar.gz
trackermap-server-4e77075ea6c333e0eb46204faf6b3f350a1cb984.tar.bz2
trackermap-server-4e77075ea6c333e0eb46204faf6b3f350a1cb984.zip
Modify Xexun decoder
Diffstat (limited to 'src/org/traccar/protocol/XexunProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/XexunProtocolDecoder.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/XexunProtocolDecoder.java b/src/org/traccar/protocol/XexunProtocolDecoder.java
index 0d7d3e9aa..03d746c34 100644
--- a/src/org/traccar/protocol/XexunProtocolDecoder.java
+++ b/src/org/traccar/protocol/XexunProtocolDecoder.java
@@ -33,13 +33,9 @@ public class XexunProtocolDecoder extends BaseProtocolDecoder {
super(serverManager);
}
- /**
- * Regular expressions pattern
- */
- //GPRMC,043435.000,A,811.299200,S,11339.9500,E,0.93,29.52,160313,00,0000.0,A*65,F,,imei:359585014597923,
static private Pattern pattern = Pattern.compile(
"GPRMC," +
- "(\\d{2})(\\d{2})(\\d{2}).(\\d{3})," + // Time (HHMMSS.SSS)
+ "(\\d{2})(\\d{2})(\\d{2}).(\\d+)," + // Time (HHMMSS.SSS)
"([AV])," + // Validity
"(\\d+)(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM)
"([NS])," +