diff --git a/Caracal_Firmware.ino b/Caracal_Firmware.ino index a485171..9a3ebc0 100644 --- a/Caracal_Firmware.ino +++ b/Caracal_Firmware.ino @@ -82,7 +82,7 @@ enum UpdateStatus { GLOBAL VARIABLES */ -unsigned long FW_VERSION = 1906300001; // Changes with each release; must always increase +unsigned long FW_VERSION = 1907010001; // Changes with each release; must always increase unsigned long SP_VERSION = 0; // Loaded from SPIFFS; changed with each SPIFFS build; must always increase (uses timestamp as version) // FW & SPIFFS update settings @@ -117,6 +117,9 @@ String AP_SSID = "xatLabs WiFi Module"; String AP_PASS = "xatlabs_wifi"; bool AP_ACTIVE = false; +// Variable for keeping track of the IP address +String IP_ADDRESS; + // Variables for keeping track of the config button volatile bool btnState = 0; // Current button state bool oldBtnState = 0; // Previous button state @@ -341,7 +344,7 @@ void handleRoot() { String c; c += "

WiFi Module

"; c += "

WiFi Setup

"; - c += "
Current SSID: "; + c += "
Current network: "; if (AP_ACTIVE) { c += AP_SSID; } else if (STA_SETUP) { @@ -352,7 +355,7 @@ void handleRoot() { c += "
"; c += "
"; c += ""; - c += ""; + c += ""; c += ""; c += ""; c += "
SSID
Network Name
Password
"; @@ -362,11 +365,16 @@ void handleRoot() { c += STA_HOSTNAME; c += "
"; c += "
Attention! Valid characters: A-Z, a-z, 0-9 and -
"; - c += "
You can use this to access the WiFi Module at