From 207f6dbd254cef5f3b70f4725f1d5042d5726fd1 Mon Sep 17 00:00:00 2001
From: Anton Tananaev <anton.tananaev@gmail.com>
Date: Wed, 9 Dec 2020 19:51:42 -0800
Subject: Decode satellites

---
 src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/main/java')

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()
-- 
cgit v1.2.3