From e08ae84a83b19504e401be86efacd5c9e7a918e7 Mon Sep 17 00:00:00 2001 From: Troy <5659019+troyhacks@users.noreply.github.com> Date: Wed, 8 May 2024 12:18:31 -0400 Subject: [PATCH] Allow 8 AoftAP clients (for Dom) Increases the allowed SoftAP clients so folks doing syncing "in the field" can connect more devices without a proper WiFi network. --- wled00/wled.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 11ebcf72..71050d99 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -901,7 +901,7 @@ void WLED::initAP(bool resetAP) USER_PRINT(F("Opening access point ")); // WLEDMM USER_PRINTLN(apSSID); // WLEDMM WiFi.softAPConfig(IPAddress(4, 3, 2, 1), IPAddress(4, 3, 2, 1), IPAddress(255, 255, 255, 0)); - WiFi.softAP(apSSID, apPass, apChannel, apHide); + WiFi.softAP(apSSID, apPass, apChannel, apHide, 8); // WLED-MM allow up to 8 clients for ad-hoc "in the field" syncing. #if defined(LOLIN_WIFI_FIX) && (defined(ARDUINO_ARCH_ESP32C3) || defined(ARDUINO_ARCH_ESP32S2) || defined(ARDUINO_ARCH_ESP32S3)) WiFi.setTxPower(WIFI_POWER_8_5dBm); #endif