aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-09 19:51:42 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-09 19:51:42 -0800
commit207f6dbd254cef5f3b70f4725f1d5042d5726fd1 (patch)
treef037155ff2d8192e557ceb755c5bd01ec361e6a0 /src/main/java/org/traccar
parentc4b898225df0d41a705cf78cb310c691451bf131 (diff)
downloadtraccar-server-207f6dbd254cef5f3b70f4725f1d5042d5726fd1.tar.gz
traccar-server-207f6dbd254cef5f3b70f4725f1d5042d5726fd1.tar.bz2
traccar-server-207f6dbd254cef5f3b70f4725f1d5042d5726fd1.zip
Decode satellites
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
index 81418f331..d38e5d1c3 100644
--- a/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -75,9 +75,11 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
.number("|(x{8})") // odometer
.groupBegin()
.number("|(xx)") // satellites
+ .groupBegin()
.text("|")
.expression("(.*)") // driver
.groupEnd("?")
+ .groupEnd("?")
.or()
.number("|(d{1,9})") // odometer
.groupBegin()