From e8c7afae0012f329ebcdea8d3cad1d66d4187222 Mon Sep 17 00:00:00 2001 From: Gregg Date: Sun, 2 Jan 2022 15:36:54 -0600 Subject: [PATCH] Increased default max number of connections to 14! Reflects increase in max number of LWIP sockets from 10 (Arduino-ESP32 v2.0.0) to 16 (Arduino-ESP32 v2.0.1). Since HomeSpan needs at least 2 (one for Server and 1 free for new connections), this leaves 14 connections for controllers. A big improvement over only having 8! --- src/Settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Settings.h b/src/Settings.h index fa694be..f63c4b1 100644 --- a/src/Settings.h +++ b/src/Settings.h @@ -79,7 +79,7 @@ #define DEFAULT_LOG_LEVEL 0 // change with homeSpan.setLogLevel(level) -#define DEFAULT_MAX_CONNECTIONS 8 // change with homeSpan.setMaxConnections(num); +#define DEFAULT_MAX_CONNECTIONS 14 // change with homeSpan.setMaxConnections(num); #define DEFAULT_TCP_PORT 80 // change with homeSpan.setPort(port); /////////////////////////////////////////////////////