diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-12-23 19:22:42 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-12-23 19:22:42 -0800 |
commit | 24bad15e66289cf35e15bdc1fce5080f25b7b5c8 (patch) | |
tree | 086926b68675ef338eb2cf589356694e3a533233 /src/org/traccar | |
parent | fe9f9b034713cb98531d73698a65bd03d18a771c (diff) | |
parent | c8281d6a4dbb8ded05f58d9428d86569a6d94b80 (diff) | |
download | trackermap-server-24bad15e66289cf35e15bdc1fce5080f25b7b5c8.tar.gz trackermap-server-24bad15e66289cf35e15bdc1fce5080f25b7b5c8.tar.bz2 trackermap-server-24bad15e66289cf35e15bdc1fce5080f25b7b5c8.zip |
Merge pull request #113 from hallmark9/master
Tolerate Xexun2 data with low power level; Tolerate phone number without "+" prefix
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Xexun2ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Xexun2ProtocolDecoder.java b/src/org/traccar/protocol/Xexun2ProtocolDecoder.java index 6edb3733e..54f502667 100644 --- a/src/org/traccar/protocol/Xexun2ProtocolDecoder.java +++ b/src/org/traccar/protocol/Xexun2ProtocolDecoder.java @@ -44,7 +44,7 @@ public class Xexun2ProtocolDecoder extends GenericProtocolDecoder { static private Pattern pattern = Pattern.compile( "[\r\n]*" + "(\\d+)," + // Serial - "(\\+\\d+)," + // Number + "(\\+?\\d+)," + // Number "GPRMC," + "(\\d{2})(\\d{2})(\\d{2})\\.(\\d{3})," + // Time (HHMMSS.SSS) "([AV])," + // Validity @@ -62,7 +62,7 @@ public class Xexun2ProtocolDecoder extends GenericProtocolDecoder { "(\\d+)," + // IMEI "(\\d+)," + // Satellites "(\\d+\\.\\d+)," + // Altitude - "F:(\\d+\\.\\d+)V," + // Power + "[FL]:(\\d+\\.\\d+)V," + // Power ".*" + "[\r\n]*"); |