mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-05 06:33:52 -04:00
0.5.6 if we lose connection during initial radio download, fail gracefully
This commit is contained in:
@@ -970,6 +970,9 @@ class MeshService : Service(), Logging {
|
||||
startConfig()
|
||||
|
||||
reportConnection()
|
||||
} catch (ex: RadioNotConnectedException) {
|
||||
// note: no need to call startDeviceSleep(), because this exception could only have reached us if it was already called
|
||||
error("Lost connection to radio during init - waiting for reconnect")
|
||||
} catch (ex: RemoteException) {
|
||||
// It seems that when the ESP32 goes offline it can briefly come back for a 100ms ish which
|
||||
// causes the phone to try and reconnect. If we fail downloading our initial radio state we don't want to
|
||||
|
||||
Reference in New Issue
Block a user