aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-04-07 22:33:50 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-04-07 22:33:50 +1200
commit47e24e87a3dc3befc8ba46550eee3e90d38de5f2 (patch)
tree30db68d48be6eff88ca58bed294d1fbcb3e83010 /src
parentf5233acc2078564aceadc9fe72e5a0998b2e04a3 (diff)
downloadtraccar-server-47e24e87a3dc3befc8ba46550eee3e90d38de5f2.tar.gz
traccar-server-47e24e87a3dc3befc8ba46550eee3e90d38de5f2.tar.bz2
traccar-server-47e24e87a3dc3befc8ba46550eee3e90d38de5f2.zip
Support meiligao VT900 tracker
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index 9be8a8555..7181456fe 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -43,13 +43,13 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
static private Pattern pattern = Pattern.compile(
"(\\d{2})(\\d{2})(\\d{2})\\.(\\d{3})," + // Time (HHMMSS.SSS)
"([AV])," + // Validity
- "(\\d{2})(\\d{2}\\.\\d{4})," + // Latitude (DDMM.MMMM)
+ "(\\d{2})(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM)
"([NS])," +
- "(\\d{3})(\\d{2}\\.\\d{4})," + // Longitude (DDDMM.MMMM)
+ "(\\d{3})(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM)
"([EW])," +
"(\\d+.\\d+)," + // Speed
"(\\d+\\.?\\d*)?," + // Course
- "(\\d{2})(\\d{2})(\\d{2})" + // Date (DDMMYY)
+ "(\\d{2})(\\d{2})(\\d{2})" + // Date (DDMMYY)
"[^\\|]*\\|(\\d+\\.\\d)\\|" + // Dilution of precision
"(\\d+\\.?\\d*)\\|" + // Altitude
"([0-9a-fA-F]+)?" + // State