aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authortt <abc@yahoo.com>2013-02-25 21:30:23 -0500
committerhallmark9 <spamsink05@yahoo.com>2013-02-25 22:12:26 -0500
commit5fe033327cbb8ef12883934ac494e4857d6a9592 (patch)
tree83ef04d59930c210a4305736e92d285928f78232 /src/org/traccar/protocol
parentfbba01063cf4f79d83d58700f1e19486c8b26f16 (diff)
downloadtrackermap-server-5fe033327cbb8ef12883934ac494e4857d6a9592.tar.gz
trackermap-server-5fe033327cbb8ef12883934ac494e4857d6a9592.tar.bz2
trackermap-server-5fe033327cbb8ef12883934ac494e4857d6a9592.zip
Fixed Meiligao VT300 protocol when ACC Mileage is disabled.
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index f40d64b26..9be8a8555 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -49,8 +49,8 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
"([EW])," +
"(\\d+.\\d+)," + // Speed
"(\\d+\\.?\\d*)?," + // Course
- "(\\d{2})(\\d{2})(\\d{2})," + // Date (DDMMYY)
- "[^\\|]+\\|(\\d+\\.\\d)\\|" + // Dilution of precision
+ "(\\d{2})(\\d{2})(\\d{2})" + // Date (DDMMYY)
+ "[^\\|]*\\|(\\d+\\.\\d)\\|" + // Dilution of precision
"(\\d+\\.?\\d*)\\|" + // Altitude
"([0-9a-fA-F]+)?" + // State
"(?:\\|([0-9a-fA-F]+),([0-9a-fA-F]+))?" + // ADC