File tree Expand file tree Collapse file tree 3 files changed +16
-20
lines changed Expand file tree Collapse file tree 3 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,6 @@ static const int NTRIPCLIENT_MS_BETWEEN_GGA = 5000; //5s between transmission of
6464// The WiFi connection to the NTRIP caster to obtain RTCM data.
6565static WiFiClient * ntripClient;
6666
67- // Count the number of connection attempts
68- static int ntripClientConnectionAttempts;
69-
70- // NTRIP client timer usage:
71- // * Measure the connection response time
72- // * Receive NTRIP data timeout
73- static uint32_t ntripClientTimer;
74- static uint32_t ntripClientStartTime; // For calculating uptime
75-
7667// Last time the NTRIP client state was displayed
7768static uint32_t lastNtripClientState = 0 ;
7869
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ static WiFiClient * ntripServer;
6767// Count of bytes sent by the NTRIP server to the NTRIP caster
6868uint32_t ntripServerBytesSent = 0 ;
6969
70- // Count the number of connection attempts
71- static int ntripServerConnectionAttempts;
72-
7370// Throttle the time between connection attempts
7471static int ntripServerConnectionAttemptTimeout = 0 ;
7572static uint32_t ntripServerLastConnectionAttempt = 0 ;
@@ -78,14 +75,6 @@ static uint32_t ntripServerTimeoutPrint = 0;
7875// Last time the NTRIP server state was displayed
7976static uint32_t ntripServerStateLastDisplayed = 0 ;
8077
81- // NTRIP server timer usage:
82- // * Measure the connection response time
83- // * Receive RTCM correction data timeout
84- // * Monitor last RTCM byte received for frame counting
85- static uint32_t ntripServerTimer;
86-
87- static uint32_t ntripServerStartTime;
88-
8978// ----------------------------------------
9079// NTRIP Server Routines - compiled out
9180// ----------------------------------------
Original file line number Diff line number Diff line change @@ -162,6 +162,22 @@ LoggingType loggingType = LOGGING_UNKNOWN;
162162#endif
163163
164164volatile uint8_t wifiNmeaConnected;
165+
166+ // NTRIP client timer usage:
167+ // * Measure the connection response time
168+ // * Receive NTRIP data timeout
169+ static uint32_t ntripClientTimer;
170+ static uint32_t ntripClientStartTime; // For calculating uptime
171+ static int ntripClientConnectionAttempts; // Count the number of connection attempts
172+
173+ // NTRIP server timer usage:
174+ // * Measure the connection response time
175+ // * Receive RTCM correction data timeout
176+ // * Monitor last RTCM byte received for frame counting
177+ static uint32_t ntripServerTimer;
178+ static uint32_t ntripServerStartTime;
179+ static int ntripServerConnectionAttempts; // Count the number of connection attempts
180+
165181// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
166182
167183// GNSS configuration
You can’t perform that action at this time.
0 commit comments