Update wifimgr
This commit is contained in:
parent
c681619be8
commit
6dfe5a80fd
@ -243,7 +243,8 @@ const char WM_HTTP_ITEM[] PROGMEM = "<div><a href='#p' onclick='c(this)'>{v}</a>
|
|||||||
const char JSON_ITEM[] PROGMEM = "{\"SSID\":\"{v}\", \"Encryption\":{i}, \"Quality\":\"{r}\"}";
|
const char JSON_ITEM[] PROGMEM = "{\"SSID\":\"{v}\", \"Encryption\":{i}, \"Quality\":\"{r}\"}";
|
||||||
|
|
||||||
// KH, update from v1.1.0
|
// KH, update from v1.1.0
|
||||||
const char WM_HTTP_FORM_START[] PROGMEM = "<form method='get' action='wifisave'><fieldset><div><label>SSID</label><input id='s' name='s' length=32 placeholder='SSID'><div></div></div><div><label>Password</label><input id='p' name='p' length=64 placeholder='password'><div></div></div><div><label>SSID1</label><input id='s1' name='s1' length=32 placeholder='SSID1'><div></div></div><div><label>Password</label><input id='p1' name='p1' length=64 placeholder='password1'><div></div></div></fieldset>";
|
//const char WM_HTTP_FORM_START[] PROGMEM = "<form method='get' action='wifisave'><fieldset><div><label>SSID</label><input id='s' name='s' length=32 placeholder='SSID'><div></div></div><div><label>Password</label><input id='p' name='p' length=64 placeholder='password'><div></div></div><div><label>SSID1</label><input id='s1' name='s1' length=32 placeholder='SSID1'><div></div></div><div><label>Password</label><input id='p1' name='p1' length=64 placeholder='password1'><div></div></div></fieldset>";
|
||||||
|
extern const char WM_HTTP_FORM_START[] PROGMEM;
|
||||||
//////
|
//////
|
||||||
|
|
||||||
// KH, add from v1.0.10
|
// KH, add from v1.0.10
|
||||||
|
@ -57,6 +57,7 @@ SOFTWARE.
|
|||||||
#define USING_CORS_FEATURE false
|
#define USING_CORS_FEATURE false
|
||||||
#define NUM_WIFI_CREDENTIALS 1
|
#define NUM_WIFI_CREDENTIALS 1
|
||||||
#define USE_STATIC_IP_CONFIG_IN_CP false
|
#define USE_STATIC_IP_CONFIG_IN_CP false
|
||||||
|
#define _WIFIMGR_LOGLEVEL_ 3
|
||||||
#include <ESP_WiFiManager.h>
|
#include <ESP_WiFiManager.h>
|
||||||
// Override the look and feel of the standard ui (hide secondary forms)
|
// Override the look and feel of the standard ui (hide secondary forms)
|
||||||
const char WM_HTTP_FORM_START[] PROGMEM =
|
const char WM_HTTP_FORM_START[] PROGMEM =
|
||||||
@ -69,7 +70,6 @@ const char WM_HTTP_FORM_START[] PROGMEM =
|
|||||||
"placeholder='SSID1'><div></div></div><div "
|
"placeholder='SSID1'><div></div></div><div "
|
||||||
"hidden><label>Password</label><input id='p1' name='p1' length=64 "
|
"hidden><label>Password</label><input id='p1' name='p1' length=64 "
|
||||||
"placeholder='password1'><div></div></div></fieldset>";
|
"placeholder='password1'><div></div></div></fieldset>";
|
||||||
#include <ESP_WiFiManager-Impl.h>
|
|
||||||
ESP_WiFiManager *myWifiManager;
|
ESP_WiFiManager *myWifiManager;
|
||||||
DoubleResetDetector *myDRD;
|
DoubleResetDetector *myDRD;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user