mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-25 07:43:04 +05:00
fix: stabilize Ethernet and WiFi connectivity
Clean up failed Ethernet initialization and allow retries with updated GPIOs. Preserve AP clients and mDNS during ordinary STA retries, and stop mDNS before destroying network interfaces. Pause BLE scanning while AP clients are connected, prefetch nearby networks on AP startup, and fix SSID selection for nested WiFi settings. Enable Ethernet in the S3 Mini build. Validated the S3 build and bench WiFi/MQTT, settings restoration, AP client operation, and BLE pause/resume. The Ethernet module was not connected.
This commit is contained in:
1 parent
bab5f46ff5
commit
fc80e0cd8f
6 files changed
+184
-161
No files matched your search
@@ -7,7 +7,6 @@
|
||||
#include "types.h"
|
||||
#include "Sensors.h"
|
||||
|
||||
// Keep the existing WiFi settings at the start of the persisted structure.
|
||||
struct NetworkSettings {
|
||||
char hostname[25] = DEFAULT_HOSTNAME;
|
||||
bool useDhcp = true;
|
||||
|
||||
@@ -63,7 +63,6 @@
|
||||
#define USE_BLE false
|
||||
#endif
|
||||
|
||||
// W5500 support is enabled by the dedicated C6 Ethernet build.
|
||||
#ifndef USE_ETHERNET
|
||||
#define USE_ETHERNET false
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user