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

Commit 5369660

Browse files
authored
v1.9.0 to reduce v1.8.0 breaking effect
### Releases v1.9.0 1. Reduce the breaking effect of v1.8.0 by enabling compatibility with old code to include only `ESP_WiFiManager.h`. Check [Important Breaking Change from v1.8.0](https://github.com/khoih-prog/ESP_WiFiManager#Important-Breaking-Change-from-v180)
1 parent d755f2d commit 5369660

File tree

32 files changed

+913
-745
lines changed

32 files changed

+913
-745
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ 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 Inspiron 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux Inspiron 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
I encountered an endless loop while trying to connect to Local WiFi.

README.md

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

1515
* [Important Breaking Change from v1.8.0](#Important-Breaking-Change-from-v180)
16+
* [For v1.9.0 and up](#For-v190-and-up)
17+
* [For v1.8.0 only](#For-v180-only)
1618
* [Important Note](#important-note)
1719
* [Why do we need the new Async ESPAsync_WiFiManager library](#why-do-we-need-the-new-async-espasync_wifimanager-library)
1820
* [Why do we need this ESP_WiFiManager library](#why-do-we-need-this-esp_wifimanager-library)
@@ -152,6 +154,46 @@
152154

153155
### Important Breaking Change from v1.8.0
154156

157+
#### For v1.9.0 and up
158+
159+
Please have a look at [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
160+
161+
From v1.9.0, you just use
162+
163+
```
164+
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
165+
```
166+
167+
instead of both
168+
169+
```
170+
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
171+
172+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
173+
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
174+
```
175+
176+
177+
For complex project having `Multiple Definitions Linker Error` issue, you can use in many files (**Be careful**: `.hpp`, not `.h`)
178+
179+
```
180+
#include <ESP_WiFiManager.hpp> //https://github.com/khoih-prog/ESP_WiFiManager
181+
```
182+
183+
but only in main(), .ino with setup() to avoid `Multiple Definitions Linker Error`
184+
185+
186+
```
187+
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
188+
```
189+
190+
---
191+
192+
193+
#### For v1.8.0 only
194+
195+
It's advisable to use v1.9.0+
196+
155197
Please have a look at [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
156198

157199
From v1.8.0, you must use
@@ -310,14 +352,14 @@ The current library implementation, using `xyz-Impl.h` instead of standard `xyz.
310352
You can use
311353

312354
```
313-
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
355+
#include <ESP_WiFiManager.hpp> //https://github.com/khoih-prog/ESP_WiFiManager
314356
```
315357

316-
in many files. But be sure to use the following `#include <ESP_WiFiManager-Impl.h>` **in just 1 `.h`, `.cpp` or `.ino` file**, which must **not be included in any other file**, to avoid `Multiple Definitions` Linker Error
358+
in many files. But be sure to use the following `#include <ESP_WiFiManager.h>` **in just 1 `.h`, `.cpp` or `.ino` file**, which must **not be included in any other file**, to avoid `Multiple Definitions` Linker Error
317359

318360
```
319361
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
320-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
362+
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
321363
```
322364

323365
Check [ConfigOnDoubleReset_Multi](examples/ConfigOnDoubleReset_Multi) for an example how and where to do so.
@@ -2151,8 +2193,8 @@ ESP_wifiManager.setRemoveDuplicateAPs(false);
21512193
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
21522194
#endif
21532195

2154-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.8.0"
2155-
#define ESP_WIFIMANAGER_VERSION_MIN 1008000
2196+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.9.0"
2197+
#define ESP_WIFIMANAGER_VERSION_MIN 1009000
21562198

21572199
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
21582200
#define _WIFIMGR_LOGLEVEL_ 3
@@ -2492,7 +2534,9 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
24922534
//#define HTTP_PORT 8080
24932535

24942536
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
2495-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
2537+
2538+
// Redundant, for v1.8.0 only
2539+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
24962540

24972541
#define HTTP_PORT 80
24982542

@@ -3521,7 +3565,7 @@ This is terminal debug output when running [ConfigOnSwitchFS_MQTT_Ptr](examples/
35213565
35223566
```
35233567
Starting ConfigOnSwichFS_MQTT_Ptr using LittleFS on ESP8266_NODEMCU_ESP12E
3524-
ESP_WiFiManager v1.8.0
3568+
ESP_WiFiManager v1.9.0
35253569
Configuration file not found
35263570
Failed to read configuration file, using default values
35273571
[WM] RFC925 Hostname = ConfigOnSwichFS-MQTT
@@ -3633,7 +3677,7 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP3
36333677
36343678
```cpp
36353679
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32_DEV
3636-
ESP_WiFiManager v1.8.0
3680+
ESP_WiFiManager v1.9.0
36373681
ESP_DoubleResetDetector v1.2.1
36383682
FS File: /ConfigSW.json, size: 150B
36393683
FS File: /CanadaFlag_1.png, size: 40.25KB
@@ -3698,7 +3742,7 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP3
36983742

36993743
```
37003744
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using LittleFS on ESP32_DEV
3701-
ESP_WiFiManager v1.8.0
3745+
ESP_WiFiManager v1.9.0
37023746
ESP_DoubleResetDetector v1.2.1
37033747
FS File: /CanadaFlag_1.png, size: 40.25KB
37043748
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -3757,7 +3801,7 @@ This is terminal debug output when running [ConfigOnDRD_FS_MQTT_Ptr_Complex](exa
37573801

37583802
```
37593803
Starting ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP32_DEV
3760-
ESP_WiFiManager v1.8.0
3804+
ESP_WiFiManager v1.9.0
37613805
ESP_DoubleResetDetector v1.2.1
37623806
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
37633807
Config File successfully parsed
@@ -3800,7 +3844,7 @@ WWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
38003844

38013845
```
38023846
Starting ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP32_DEV
3803-
ESP_WiFiManager v1.8.0
3847+
ESP_WiFiManager v1.9.0
38043848
ESP_DoubleResetDetector v1.2.1
38053849
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
38063850
Config File successfully parsed
@@ -3885,7 +3929,7 @@ This is terminal debug output when running [ConfigOnDRD_FS_MQTT_Ptr_Complex](exa
38853929

38863930
```
38873931
Starting ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP8266_NODEMCU_ESP12E
3888-
ESP_WiFiManager v1.8.0
3932+
ESP_WiFiManager v1.9.0
38893933
ESP_DoubleResetDetector v1.2.1
38903934
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
38913935
Config File successfully parsed
@@ -3925,7 +3969,7 @@ TWWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
39253969

39263970
```
39273971
Starting ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP8266_NODEMCU_ESP12E
3928-
ESP_WiFiManager v1.8.0
3972+
ESP_WiFiManager v1.9.0
39293973
ESP_DoubleResetDetector v1.2.1
39303974
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
39313975
Config File successfully parsed
@@ -4002,7 +4046,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
40024046

40034047
```
40044048
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
4005-
ESP_WiFiManager v1.8.0
4049+
ESP_WiFiManager v1.9.0
40064050
ESP_DoubleResetDetector v1.2.1
40074051
[WM] RFC925 Hostname = ConfigOnDoubleReset
40084052
[WM] setAPStaticIPConfig
@@ -4052,7 +4096,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
40524096

40534097
```
40544098
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
4055-
ESP_WiFiManager v1.8.0
4099+
ESP_WiFiManager v1.9.0
40564100
ESP_DoubleResetDetector v1.2.1
40574101
[WM] RFC925 Hostname = ConfigOnDoubleReset
40584102
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -4162,7 +4206,7 @@ Local Date/Time: Thu May 6 21:29:18 2021
41624206

41634207
```
41644208
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
4165-
ESP_WiFiManager v1.8.0
4209+
ESP_WiFiManager v1.9.0
41664210
ESP_DoubleResetDetector v1.2.1
41674211
[WM] RFC925 Hostname = ConfigOnDoubleReset
41684212
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -4213,7 +4257,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
42134257

42144258
```
42154259
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
4216-
ESP_WiFiManager v1.8.0
4260+
ESP_WiFiManager v1.9.0
42174261
ESP_DoubleResetDetector v1.2.1
42184262
[WM] RFC925 Hostname = ConfigOnDoubleReset
42194263
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -4359,7 +4403,7 @@ Local Date/Time: Thu May 6 21:29:18 2021
43594403

43604404
```
43614405
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
4362-
ESP_WiFiManager v1.8.0
4406+
ESP_WiFiManager v1.9.0
43634407
ESP_DoubleResetDetector v1.2.1
43644408
[WM] RFC925 Hostname = ConfigOnDoubleReset
43654409
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -4412,7 +4456,7 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP3
44124456

44134457
```
44144458
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32C3_DEV
4415-
ESP_WiFiManager v1.8.0
4459+
ESP_WiFiManager v1.9.0
44164460
ESP_DoubleResetDetector v1.2.1
44174461
FS File: wm_cp.dat, size: 4B
44184462
FS File: wm_cp.bak, size: 4B

changelog.md

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

1515
* [Changelog](#changelog)
16+
* [Releases v1.9.0](#releases-v190)
1617
* [Releases v1.8.0](#releases-v180)
1718
* [Releases v1.7.8](#releases-v178)
1819
* [Releases v1.7.7](#releases-v177)
@@ -50,6 +51,11 @@
5051

5152
## Changelog
5253

54+
### Releases v1.9.0
55+
56+
1. Reduce the breaking effect of v1.8.0 by enabling compatibility with old code to include only `ESP_WiFiManager.h`. Check [Important Breaking Change from v1.8.0](https://github.com/khoih-prog/ESP_WiFiManager#Important-Breaking-Change-from-v180)
57+
58+
5359
### Releases v1.8.0
5460

5561
1. Fix `multiple-definitions` linker error and weird bug related to `src_cpp`. Check [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80)

examples/AutoConnect/AutoConnect.ino

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
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.8.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1008000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.9.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1009000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2222
#define _WIFIMGR_LOGLEVEL_ 3
@@ -251,7 +251,9 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
251251
//#define HTTP_PORT 8080
252252

253253
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
254-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
254+
255+
// Redundant, for v1.8.0 only
256+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
255257

256258
// Function Prototypes
257259
uint8_t connectMultiWiFi();

examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
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.8.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1008000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.9.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1009000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2222
#define _WIFIMGR_LOGLEVEL_ 3
@@ -262,7 +262,9 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
262262
//#define HTTP_PORT 8080
263263

264264
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
265-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
265+
266+
// Redundant, for v1.8.0 only
267+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
266268

267269
//define your default values here, if there are different values in configFileName (config.json), they are overwritten.
268270
#define BLYNK_SERVER_LEN 64

examples/AutoConnectWithFeedback/AutoConnectWithFeedback.ino

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
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.8.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1008000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.9.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1009000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2222
#define _WIFIMGR_LOGLEVEL_ 3
@@ -254,7 +254,9 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
254254
//#define HTTP_PORT 8080
255255

256256
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
257-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
257+
258+
// Redundant, for v1.8.0 only
259+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
258260

259261
// Function Prototypes
260262
uint8_t connectMultiWiFi(void);

examples/AutoConnectWithFeedbackLED/AutoConnectWithFeedbackLED.ino

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
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.8.0"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1008000
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.9.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1009000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2222
#define _WIFIMGR_LOGLEVEL_ 3
@@ -257,7 +257,9 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
257257
//#define HTTP_PORT 8080
258258

259259
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
260-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
260+
261+
// Redundant, for v1.8.0 only
262+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
261263

262264
//for LED status
263265
#include <Ticker.h>

examples/AutoConnect_ESP32_minimal/AutoConnect_ESP32_minimal.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#error This code is intended to run on ESP32 platform! Please check your Tools->Board setting.
99
#endif
1010
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
11-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
11+
12+
// Redundant, for v1.8.0 only
13+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
1214

1315
void setup()
1416
{

examples/AutoConnect_ESP8266_minimal/AutoConnect_ESP8266_minimal.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
#endif
1010
#define _WIFIMGR_LOGLEVEL_ 4 // 0-4 where 4 is the highest verbosity level
1111
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
12-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
12+
13+
// Redundant, for v1.8.0 only
14+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
1315

1416
void setup()
1517
{

examples/ConfigOnDRD_ESP32_minimal/ConfigOnDRD_ESP32_minimal.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
1212
#endif
1313
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
14-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
14+
// Redundant, for v1.8.0 only
15+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
1516
#define DRD_TIMEOUT 10
1617
#define DRD_ADDRESS 0
1718
#include <ESP_DoubleResetDetector.h> //https://github.com/khoih-prog/ESP_DoubleResetDetector

examples/ConfigOnDRD_ESP8266_minimal/ConfigOnDRD_ESP8266_minimal.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting.
1212
#endif
1313
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
14-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
14+
// Redundant, for v1.8.0 only
15+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
1516
#define DRD_TIMEOUT 10
1617
#define DRD_ADDRESS 0
1718
#include <ESP_DoubleResetDetector.h> //https://github.com/khoih-prog/ESP_DoubleResetDetector

examples/ConfigOnDRD_FS_MQTT_Ptr/ConfigOnDRD_FS_MQTT_Ptr.ino

+5-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
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.8.0"
35-
#define ESP_WIFIMANAGER_VERSION_MIN 1008000
34+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.9.0"
35+
#define ESP_WIFIMANAGER_VERSION_MIN 1009000
3636

3737
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3838
#define _WIFIMGR_LOGLEVEL_ 3
@@ -372,7 +372,9 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
372372
//#define HTTP_PORT 8080
373373

374374
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
375-
#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
375+
376+
// Redundant, for v1.8.0 only
377+
//#include <ESP_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESP_WiFiManager
376378

377379
#define HTTP_PORT 80
378380

0 commit comments

Comments
 (0)