From e72afc9065ba2e07ee6703c7db4c6d6fa6c04001 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Fri, 4 Apr 2025 08:21:22 +0200 Subject: [PATCH] remove wifi full scan, dev.6 --- src/ESP32React/NetworkSettingsService.cpp | 8 +++----- src/emsesp_version.h | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ESP32React/NetworkSettingsService.cpp b/src/ESP32React/NetworkSettingsService.cpp index 7d5d48bb2..d0e1ed4b8 100644 --- a/src/ESP32React/NetworkSettingsService.cpp +++ b/src/ESP32React/NetworkSettingsService.cpp @@ -37,11 +37,9 @@ void NetworkSettingsService::begin() { WiFi.mode(WIFI_MODE_MAX); WiFi.mode(WIFI_MODE_NULL); -// scan settings give connect issues with arduino 2.0.14 and arduino 3.x.x -#if ESP_ARDUINO_VERSION_MAJOR < 3 - WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN); // default is FAST_SCAN -// WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL); // is default, no need to set -#endif + // scan settings give connect issues since arduino 2.0.14 and arduino 3.x.x with some wifi systems + // WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN); // default is FAST_SCAN + // WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL); // is default, no need to set _fsPersistence.readFromFS(); } diff --git a/src/emsesp_version.h b/src/emsesp_version.h index c2112bab9..4ea796314 100644 --- a/src/emsesp_version.h +++ b/src/emsesp_version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.7.3-dev.5" +#define EMSESP_APP_VERSION "3.7.3-dev.6"