aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-01-24 19:49:23 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-01-24 19:49:23 -0800
commite7866cd4bd5a4552f0d562671ce6a713d18824b8 (patch)
tree741ed1236393ca4b1df68bdbd28d4ea84ee9a299 /src/main/java/org/traccar
parent1117d4abe4fe3545f9169b05269363c9655061b1 (diff)
downloadtrackermap-server-e7866cd4bd5a4552f0d562671ce6a713d18824b8.tar.gz
trackermap-server-e7866cd4bd5a4552f0d562671ce6a713d18824b8.tar.bz2
trackermap-server-e7866cd4bd5a4552f0d562671ce6a713d18824b8.zip
Support VT600 and VT900
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
index cbfc3660a..bd66cdc4b 100644
--- a/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2012 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
}
private static final Pattern PATTERN = new PatternBuilder()
- .number("(dd)(dd)(dd).?d*,") // time (hhmmss)
+ .number("(d+)(dd)(dd).?d*,") // time (hhmmss)
.expression("([AV]),") // validity
.number("(d+)(dd.d+),") // latitude
.expression("([NS]),")