Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 18d682b

Browse files
authored
v1.12.0 to optionally display Credentials
### Releases v1.12.0 1. Optionally display Credentials (SSIDs, PWDs) in Config Portal. Check [Populate portal wifi with saved credentials #91](#91) 2. Display `Credentials` Hint on Config Portal 3. Periodic code clean-up
1 parent 676cc1b commit 18d682b

File tree

30 files changed

+681
-339
lines changed

30 files changed

+681
-339
lines changed

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1212

1313
### How to submit a bug report
1414

15-
Please ensure to specify the following:
15+
Please ensure to specify the following, or your post will be ignored and deleted:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.4)
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.5)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -29,10 +29,10 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.19
3030
ESP8266 Core Version 3.0.2
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.15.0-48-generic #54~20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
35-
I encountered an endless loop while trying to connect to Local WiFi.
35+
I encountered a crash when using this library
3636
3737
Steps to reproduce:
3838
1. ...

Images/Configuration.png

9.19 KB
Loading

README.md

+149-140
Large diffs are not rendered by default.

changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
## Table of Contents
1414

1515
* [Changelog](#changelog)
16+
* [Releases v1.12.0](#releases-v1120)
1617
* [Releases v1.11.0](#releases-v1110)
1718
* [Releases v1.10.2](#releases-v1102)
1819
* [Releases v1.10.1](#releases-v1101)
@@ -55,6 +56,12 @@
5556

5657
## Changelog
5758

59+
### Releases v1.12.0
60+
61+
1. Optionally display Credentials (SSIDs, PWDs) in Config Portal. Check [Populate portal wifi with saved credentials #91](https://github.com/khoih-prog/ESP_WiFiManager/discussions/91)
62+
2. Display `Credentials` Hint on Config Portal
63+
3. Periodic code clean-up
64+
5865
### Releases v1.11.0
5966

6067
1. Fix ESP32 chipID. Check [Help for storing variables in memory (non-volatile) #87](https://github.com/khoih-prog/ESP_WiFiManager/discussions/87#discussioncomment-3593028)

examples/AutoConnect/AutoConnect.ino

+13-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1616
#endif
1717

18-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
22-
#define _WIFIMGR_LOGLEVEL_ 3
22+
#define _WIFIMGR_LOGLEVEL_ 1
23+
24+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
25+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
26+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
2327

2428
//Ported to ESP32
2529
#ifdef ESP32
@@ -781,6 +785,12 @@ void setup()
781785

782786
initialConfig = true;
783787

788+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
789+
// New. Update Credentials, got from loadConfigData(), to display on CP
790+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
791+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
792+
#endif
793+
784794
// Starts an access point
785795
//if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password))
786796
if ( !ESP_wifiManager.startConfigPortal(AP_SSID.c_str(), AP_PASS.c_str()) )

examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino

+13-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1616
#endif
1717

18-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
22-
#define _WIFIMGR_LOGLEVEL_ 3
22+
#define _WIFIMGR_LOGLEVEL_ 1
23+
24+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
25+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
26+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
2327

2428
#include <FS.h>
2529

@@ -1008,6 +1012,12 @@ void setup()
10081012
Serial.print(F(", PWD = "));
10091013
Serial.println(AP_PASS);
10101014

1015+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
1016+
// New. Update Credentials, got from loadConfigData(), to display on CP
1017+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
1018+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
1019+
#endif
1020+
10111021
// Starts an access point
10121022
//if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password))
10131023
if ( !ESP_wifiManager.startConfigPortal(AP_SSID.c_str(), AP_PASS.c_str()) )

examples/AutoConnectWithFeedback/AutoConnectWithFeedback.ino

+13-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1616
#endif
1717

18-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
22-
#define _WIFIMGR_LOGLEVEL_ 3
22+
#define _WIFIMGR_LOGLEVEL_ 1
23+
24+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
25+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
26+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
2327

2428
//Ported to ESP32
2529
#ifdef ESP32
@@ -790,6 +794,12 @@ void setup()
790794
Serial.print(F(", PWD = "));
791795
Serial.println(AP_PASS);
792796

797+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
798+
// New. Update Credentials, got from loadConfigData(), to display on CP
799+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
800+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
801+
#endif
802+
793803
// Starts an access point
794804
//if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password))
795805
if ( !ESP_wifiManager.startConfigPortal(AP_SSID.c_str(), AP_PASS.c_str()) )

examples/AutoConnectWithFeedbackLED/AutoConnectWithFeedbackLED.ino

+13-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1616
#endif
1717

18-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
22-
#define _WIFIMGR_LOGLEVEL_ 3
22+
#define _WIFIMGR_LOGLEVEL_ 1
23+
24+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
25+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
26+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
2327

2428
#include <FS.h>
2529

@@ -821,6 +825,12 @@ void setup()
821825
Serial.print(F(", PWD = "));
822826
Serial.println(AP_PASS);
823827

828+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
829+
// New. Update Credentials, got from loadConfigData(), to display on CP
830+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
831+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
832+
#endif
833+
824834
// Starts an access point
825835
//if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password))
826836
if ( !ESP_wifiManager.startConfigPortal(AP_SSID.c_str(), AP_PASS.c_str()) )

examples/ConfigOnDRD_FS_MQTT_Ptr/ConfigOnDRD_FS_MQTT_Ptr.ino

+15-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@
3131
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3232
#endif
3333

34-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
35-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
34+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
35+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
3636

3737
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
38-
#define _WIFIMGR_LOGLEVEL_ 4
38+
#define _WIFIMGR_LOGLEVEL_ 1
39+
40+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
41+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
42+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
3943

4044
#include <Arduino.h> // for button
4145
#include <OneButton.h> // for button
@@ -967,6 +971,12 @@ void wifi_manager()
967971
Serial.print(ssid);
968972
Serial.print(F(", PWD = "));
969973
Serial.println(password);
974+
975+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
976+
// New. Update Credentials, got from loadConfigData(), to display on CP
977+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
978+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
979+
#endif
970980

971981
if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password.c_str()))
972982
{
@@ -1338,6 +1348,8 @@ void setup()
13381348

13391349
if (initialConfig)
13401350
{
1351+
loadConfigData();
1352+
13411353
wifi_manager();
13421354
}
13431355
else

examples/ConfigOnDRD_FS_MQTT_Ptr_Complex/ConfigOnDRD_FS_MQTT_Ptr_Complex.ino

+15-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@
3131
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3232
#endif
3333

34-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
35-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
34+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
35+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
3636

3737
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
38-
#define _WIFIMGR_LOGLEVEL_ 3
38+
#define _WIFIMGR_LOGLEVEL_ 1
39+
40+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
41+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
42+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
3943

4044
// Default is 30s, using 20s now
4145
#define TIME_BETWEEN_MODAL_SCANS 20000UL
@@ -1021,6 +1025,12 @@ void wifi_manager()
10211025
Serial.print(F(", PWD = "));
10221026
Serial.println(password);
10231027

1028+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
1029+
// New. Update Credentials, got from loadConfigData(), to display on CP
1030+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
1031+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
1032+
#endif
1033+
10241034
if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password.c_str()))
10251035
{
10261036
Serial.println(F("Not connected to WiFi but continuing anyway."));
@@ -1380,6 +1390,8 @@ void setup()
13801390

13811391
if (initialConfig)
13821392
{
1393+
loadConfigData();
1394+
13831395
wifi_manager();
13841396
}
13851397
else

examples/ConfigOnDRD_FS_MQTT_Ptr_Medium/ConfigOnDRD_FS_MQTT_Ptr_Medium.ino

+15-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@
3131
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3232
#endif
3333

34-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
35-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
34+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
35+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
3636

3737
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
38-
#define _WIFIMGR_LOGLEVEL_ 3
38+
#define _WIFIMGR_LOGLEVEL_ 1
39+
40+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
41+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
42+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
3943

4044
// Default is 30s, using 20s now
4145
#define TIME_BETWEEN_MODAL_SCANS 20000UL
@@ -1010,6 +1014,12 @@ void wifi_manager()
10101014
Serial.print(F(", PWD = "));
10111015
Serial.println(password);
10121016

1017+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
1018+
// New. Update Credentials, got from loadConfigData(), to display on CP
1019+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
1020+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
1021+
#endif
1022+
10131023
if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password.c_str()))
10141024
{
10151025
Serial.println(F("Not connected to WiFi but continuing anyway."));
@@ -1369,6 +1379,8 @@ void setup()
13691379

13701380
if (initialConfig)
13711381
{
1382+
loadConfigData();
1383+
13721384
wifi_manager();
13731385
}
13741386
else

examples/ConfigOnDoubleReset/ConfigOnDoubleReset.ino

+13-3
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,15 @@
4242
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4343
#endif
4444

45-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
46-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
45+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
46+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
4747

4848
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
49-
#define _WIFIMGR_LOGLEVEL_ 3
49+
#define _WIFIMGR_LOGLEVEL_ 1
50+
51+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
52+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
53+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
5054

5155
#include <FS.h>
5256

@@ -889,6 +893,12 @@ void setup()
889893
//switched off via webserver or device is restarted.
890894
//ESP_wifiManager.setConfigPortalTimeout(600);
891895

896+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
897+
// New. Update Credentials, got from loadConfigData(), to display on CP
898+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
899+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
900+
#endif
901+
892902
// Starts an access point
893903
if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), (const char *) password.c_str()))
894904
Serial.println(F("Not connected to WiFi but continuing anyway."));

examples/ConfigOnDoubleReset_Multi/ConfigOnDoubleReset_Multi.ino

+15-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,15 @@
4242
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4343
#endif
4444

45-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
46-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
45+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
46+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
47+
48+
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
49+
#define _WIFIMGR_LOGLEVEL_ 1
50+
51+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
52+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
53+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
4754

4855
// These definitions must be placed before #include <ESPAsync_WiFiManager.h>
4956
#include "ConfigOnDoubleReset_Multi.h"
@@ -246,6 +253,12 @@ void setup()
246253
//switched off via webserver or device is restarted.
247254
//ESP_wifiManager.setConfigPortalTimeout(600);
248255

256+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
257+
// New. Update Credentials, got from loadConfigData(), to display on CP
258+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
259+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
260+
#endif
261+
249262
// Starts an access point
250263
if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), (const char *) password.c_str()))
251264
Serial.println(F("Not connected to WiFi but continuing anyway."));

examples/ConfigOnStartup/ConfigOnStartup.ino

+13-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,15 @@
3333
#error This code is intended to run only on the ESP8266 and ESP32 boards ! Please check your Tools->Board setting.
3434
#endif
3535

36-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
37-
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
36+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.12.0"
37+
#define ESP_WIFIMANAGER_VERSION_MIN 1012000
3838

3939
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
40-
#define _WIFIMGR_LOGLEVEL_ 3
40+
#define _WIFIMGR_LOGLEVEL_ 1
41+
42+
// To not display stored SSIDs and PWDs on Config Portal, select false. Default is true
43+
// Even the stored Credentials are not display, just leave them all blank to reconnect and reuse the stored Credentials
44+
//#define DISPLAY_STORED_CREDENTIALS_IN_CP false
4145

4246
//For ESP32, To use ESP32 Dev Module, QIO, Flash 4MB/80MHz, Upload 921600
4347

@@ -804,6 +808,12 @@ void setup()
804808
Serial.println(password);
805809

806810
digitalWrite(PIN_LED, LED_ON); // turn the LED on by making the voltage LOW to tell us we are in configuration mode.
811+
812+
#if DISPLAY_STORED_CREDENTIALS_IN_CP
813+
// New. Update Credentials, got from loadConfigData(), to display on CP
814+
ESP_wifiManager.setCredentials(WM_config.WiFi_Creds[0].wifi_ssid, WM_config.WiFi_Creds[0].wifi_pw,
815+
WM_config.WiFi_Creds[1].wifi_ssid, WM_config.WiFi_Creds[1].wifi_pw);
816+
#endif
807817

808818
// Starts an access point
809819
if (!ESP_wifiManager.startConfigPortal((const char *) ssid.c_str(), password.c_str()))

0 commit comments

Comments
 (0)