Skip to content

Commit f769d56

Browse files
committed
Increase first reconnect timeout to 15s
Emlid needs more time between port closures otherwise it complains mountpoint is already taken.
1 parent c2c8a87 commit f769d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/NtripServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ void ntripServerStop(bool wifiClientAllocated)
309309
wifiStop();
310310

311311
ntripServerLastConnectionAttempt = millis(); //Mark the Server stop so that we don't immediately attempt re-connect to Caster
312-
ntripServerConnectionAttemptTimeout = 5 * 1000L; //Wait 5s between stopping and the first re-connection attempt
312+
ntripServerConnectionAttemptTimeout = 15 * 1000L; //Wait 15s between stopping and the first re-connection attempt. 5 is too short for Emlid.
313313
}
314314

315315
//Determine the next NTRIP server state

0 commit comments

Comments
 (0)