diff Common/Inc/data_central.h @ 931:5a9bc2e6112d Evo_2_23

Added Sat Status Overview: In addition to the navigation data now information regarding the satelliete and signal status are visualized. To enable the a new command has been added to the communication protocol and the position view has been extended.
author Ideenmodellierer
date Tue, 03 Dec 2024 20:32:51 +0100
parents 63c340abd70e
children
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Tue Dec 03 20:24:06 2024 +0100
+++ b/Common/Inc/data_central.h	Tue Dec 03 20:32:51 2024 +0100
@@ -167,9 +167,12 @@
 
 typedef struct
 {
-	float Longitude;
-	float Latitude;
-} 	SPositionData;
+	float fLat;
+	float fLon;
+	uint8_t fixType;
+	uint8_t numSat;			/* number of available satellites */
+	uint8_t signalQual[4];	/* signal quality indicator for x sats */
+} SGnssInfo;
 
 
 /* struct SLifeData
@@ -253,7 +256,7 @@
 /* for PSCR Mode */
 	 float ppo2Simulated_bar;
 /* GNSS data */
-	 SPositionData gnssPosition;
+	 SGnssInfo gnssData;
 
 } 	SLifeData;