diff --git a/src/AutoConnect.h b/src/AutoConnect.h index f1f385b..f35967d 100644 --- a/src/AutoConnect.h +++ b/src/AutoConnect.h @@ -3,7 +3,7 @@ * @file AutoConnect.h * @author hieromon@gmail.com * @version 1.1.0 - * @date 2019-10-07 + * @date 2019-10-11 * @copyright MIT license. */ @@ -377,10 +377,6 @@ class AutoConnect { String _token_SSID_COUNT(PageArgument& args); String _token_HIDDEN_COUNT(PageArgument& args); String _token_CONFIG_STAIP(PageArgument& args); - String _token_CONFIG_STAGATEWAY(PageArgument& args); - String _token_CONFIG_STANETMASK(PageArgument& args); - String _token_CONFIG_STADNS1(PageArgument& args); - String _token_CONFIG_STADNS2(PageArgument& args); String _token_OPEN_SSID(PageArgument& args); String _token_UPTIME(PageArgument& args); String _token_BOOTURI(PageArgument& args); diff --git a/src/AutoConnectDefs.h b/src/AutoConnectDefs.h index 97e8fd5..7589b37 100644 --- a/src/AutoConnectDefs.h +++ b/src/AutoConnectDefs.h @@ -2,8 +2,8 @@ * Predefined AutoConnect configuration parameters. * @file AutoConnectDefs.h * @author hieromon@gmail.com - * @version 1.0.0 - * @date 2019-08-15 + * @version 1.1.0 + * @date 2019-10-11 * @copyright MIT license. */ @@ -11,7 +11,7 @@ #define _AUTOCONNECTDEFS_H_ // Uncomment the following AC_DEBUG to enable debug output. -#define AC_DEBUG +//#define AC_DEBUG // Debug output destination can be defined externally with AC_DEBUG_PORT #ifndef AC_DEBUG_PORT @@ -133,7 +133,7 @@ // Reserved buffer size to build content #ifndef AUTOCONNECT_CONTENTBUFFER_SIZE -#define AUTOCONNECT_CONTENTBUFFER_SIZE (13 * 1024) +#define AUTOCONNECT_CONTENTBUFFER_SIZE (14 * 1024) #endif // !AUTOCONNECT_CONTENTBUFFER_SIZE // Number of unit lines in the page that lists available SSIDs diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index b029f25..940ca18 100644 --- a/src/AutoConnectPage.cpp +++ b/src/AutoConnectPage.cpp @@ -3,7 +3,7 @@ * @file AutoConnectPage.h * @author hieromon@gmail.com * @version 1.1.0 - * @date 2019-10-07 + * @date 2019-10-11 * @copyright MIT license. */ @@ -687,26 +687,7 @@ const char AutoConnect::_PAGE_CONFIGNEW[] PROGMEM = { "" "" "" - "
" - " " - " " - " " - " " + "{{CONFIG_IP}}" "" "" "" @@ -714,9 +695,9 @@ const char AutoConnect::_PAGE_CONFIGNEW[] PROGMEM = { "" "