You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Issue] WiFi fails to reconnect if it already failed to connect earlier in the same program cycle #52
If the device fails to fetch exam data because the WiFi access point is unavailable, later retries often keep failing even after the WiFi Access Point (WiFi Router) is back online with a stable internet connection.
Steps to reproduce
Start the device with the WiFi router/hotspot powered off.
Observe the first exam-data fetch fail (expected).
Turn the router/hotspot on and confirm the network has internet access.
Wait for the device’s next exam-fetch retry attempt(s).
Expected
Once the AP is available, a later retry should connect to WiFi and fetch exam data successfully.
Actual
Retries continue to fail after the AP is restored. Behaviour looks as if the device WiFi module remains stuck on the earlier failure and does not recover until a fuller restart of the device.
Notes
Reproduced with a mobile 5G WiFi hotspot used as the AP.
Failure persists across multiple retry attempts within the same run.
Affects not only fetching exams but all WiFi-connection-related activities.
Power-cycling the device with the router already on appears to work on first try (suggests a stuck runtime WiFi state rather than wrong credentials).
Activity
Merge pull request #55 from RomanAlexandroff/wifi_reconnect_issue_fix