From 27fc91fbe8f88b6885356e68828cfe1ce1db7601 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期三, 28 二月 2024 09:53:13 +0800
Subject: [PATCH] 坐标

---
 lib/src/main/cpp/rtk_module/parse_gps.cpp |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/lib/src/main/cpp/rtk_module/parse_gps.cpp b/lib/src/main/cpp/rtk_module/parse_gps.cpp
index b81dab3..390c149 100644
--- a/lib/src/main/cpp/rtk_module/parse_gps.cpp
+++ b/lib/src/main/cpp/rtk_module/parse_gps.cpp
@@ -267,6 +267,14 @@
 				handleRTKRebootComp(&nmeas);
 				continue;
 			}
+			if(match2(getHexNumber(matchChar(getNMEA(matchChar(matchChar(matchChar(matchChar(matchChar(matchChar(matchChar(start = matchChar(skip1(s, e), e, '$'), e, 'C'), e, 'A'), e, 'R'), e, 'I'), e, 'N'), e, 'F'), e, 'O'), e, &nmeas), e, '*'), e, start), e)) {
+				handleCarinfo(&nmeas);
+				continue;
+			}
+			if(match2(getHexNumber(matchChar(getNMEA(matchChar(matchChar(matchChar(matchChar(start = matchChar(skip1(s, e), e, '$'), e, 'K'), e, 'S'), e, 'X'), e, 'T'), e, &nmeas), e, '*'), e, start), e)) {
+				handleKsxt(&nmeas);
+				continue;
+			}
 			handleUnrecognisedNMEA(s, p-s);
 		}
 	}

--
Gitblit v1.8.0