MeshCore/src
Matt Swann ec2dd475eb Add WiFi reconnection logic to companion radio WiFi interface
The WiFi companion firmware previously had no reconnection handling after
the initial WiFi.begin() call. On ESP32 Arduino core 2.x, the built-in
auto-reconnect is unreliable, so if WiFi drops it never comes back.

This adds a periodic health check (every 60s) in checkRecvFrame() that
detects WiFi disconnection and calls WiFi.reconnect(). The check only
activates after WiFi has successfully connected at least once, so it
won't interfere with the initial connection attempt on startup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:23:42 -07:00
..
helpers Add WiFi reconnection logic to companion radio WiFi interface 2026-04-12 20:23:42 -07:00
Dispatcher.cpp Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket 2026-03-08 23:54:32 +11:00
Dispatcher.h * Dispatcher::next_tx_time init fix 2026-03-08 23:58:28 +11:00
Identity.cpp allow set prv.key from remote, validate new prv.key 2026-01-25 01:32:48 +11:00
Identity.h * refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits) 2026-02-21 19:35:51 +11:00
Mesh.cpp * refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits) 2026-02-21 19:35:51 +11:00
Mesh.h * refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits) 2026-02-21 19:35:51 +11:00
MeshCore.h fix: Widen grp data type 2026-03-19 09:25:42 +01:00
Packet.cpp * bug fix: Packet::writeTo(), Packet::readFrom() 2026-02-26 15:36:21 +11:00
Packet.h fix: Widen grp data type 2026-03-19 09:25:42 +01:00
Utils.cpp * Terminal Chat: "set ..." commands, save to "node_prefs" file, consistent with the other firmwares 2025-02-03 13:56:57 +11:00
Utils.h * Terminal Chat: "set ..." commands, save to "node_prefs" file, consistent with the other firmwares 2025-02-03 13:56:57 +11:00