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

Commit 1c0d7bc

Browse files
authored
v1.11.0 to reduce v1.10.0 breaking effect
### Releases v1.11.0 1. Reduce the breaking effect of v1.10.0 by enabling compatibility with old code to include only `ESPAsync_WiFiManager.h`. Check [Important Breaking Change from v1.10.0](https://github.com/khoih-prog/ESPAsync_WiFiManager#Important-Breaking-Change-from-v1100)
1 parent 3d99776 commit 1c0d7bc

File tree

36 files changed

+1026
-865
lines changed

36 files changed

+1026
-865
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
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 xy-Inspiron-3593 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 xy-Inspiron-3593 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

Lines changed: 65 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
## Table of Contents
1313

1414
* [Important Breaking Change from v1.10.0](#Important-Breaking-Change-from-v1100)
15+
* [For v1.11.0 and up](#For-v1110-and-up)
16+
* [For v1.10.0 only](#For-v1100-only)
1517
* [Why do we need this ESPAsync_WiFiManager library](#why-do-we-need-this-async-espasync_wifimanager-library)
1618
* [Features](#features)
1719
* [Why Async is better](#why-async-is-better)
@@ -148,6 +150,46 @@
148150

149151
### Important Breaking Change from v1.10.0
150152

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

153195
From v1.10.0, you must use
@@ -218,7 +260,7 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W
218260

219261
## Prerequisites
220262

221-
1. [`Arduino IDE 1.8.19+` for Arduino](https://www.arduino.cc/en/Main/Software)
263+
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
222264
2. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/)
223265
3. [`ESP32 Core 2.0.2+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
224266
4. [`ESPAsyncWebServer v1.2.3+`](https://github.com/me-no-dev/ESPAsyncWebServer) for all ESP32/ESP8266-based boards. You have to use the latest [forked ESPAsyncWebServer](https://github.com/khoih-prog/ESPAsyncWebServer) if the PR [Fix compiler error for ESP32-C3 and mbed TLS v2.7.0+ #970](https://github.com/me-no-dev/ESPAsyncWebServer/pull/970) hasn't been merged.
@@ -303,14 +345,14 @@ The current library implementation, using `xyz-Impl.h` instead of standard `xyz.
303345
You can use
304346

305347
```
306-
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
348+
#include <ESPAsync_WiFiManager.hpp> //https://github.com/khoih-prog/ESPAsync_WiFiManager
307349
```
308350

309-
in many files. But be sure to use the following `#include <ESPAsync_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
351+
in many files. But be sure to use the following `#include <ESPAsync_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
310352

311353
```
312354
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
313-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
355+
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
314356
```
315357

316358
Check [Async_ConfigOnDoubleReset_Multi](examples/Async_ConfigOnDoubleReset_Multi) for an example how and where to do so.
@@ -2137,8 +2179,8 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
21372179
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
21382180
#endif
21392181

2140-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
2141-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
2182+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.11.0"
2183+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1011000
21422184

21432185
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
21442186
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -2471,7 +2513,9 @@ IPAddress APStaticGW = IPAddress(192, 168, 100, 1);
24712513
IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
24722514

24732515
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
2474-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
2516+
2517+
// Redundant, for v1.10.0 only
2518+
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
24752519

24762520
#define HTTP_PORT 80
24772521

@@ -3507,7 +3551,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium
35073551
35083552
```
35093553
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3510-
ESPAsync_WiFiManager v1.10.0
3554+
ESPAsync_WiFiManager v1.11.0
35113555
ESP_DoubleResetDetector v1.2.1
35123556
Config File not found
35133557
Can't read Config File, using default values
@@ -3526,7 +3570,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
35263570
35273571
```
35283572
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3529-
ESPAsync_WiFiManager v1.10.0
3573+
ESPAsync_WiFiManager v1.11.0
35303574
ESP_DoubleResetDetector v1.2.1
35313575
Config File not found
35323576
Can't read Config File, using default values
@@ -3614,7 +3658,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Comple
36143658
36153659
```
36163660
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3617-
ESPAsync_WiFiManager v1.10.0
3661+
ESPAsync_WiFiManager v1.11.0
36183662
ESP_DoubleResetDetector v1.2.1
36193663
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
36203664
Config File successfully parsed
@@ -3654,7 +3698,7 @@ TWWWW WTWWW
36543698
36553699
```
36563700
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3657-
ESPAsync_WiFiManager v1.10.0
3701+
ESPAsync_WiFiManager v1.11.0
36583702
ESP_DoubleResetDetector v1.2.1
36593703
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
36603704
Config File successfully parsed
@@ -3744,7 +3788,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
37443788
37453789
```cpp
37463790
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using SPIFFS on ESP32_DEV
3747-
ESPAsync_WiFiManager v1.10.0
3791+
ESPAsync_WiFiManager v1.11.0
37483792
ESP_DoubleResetDetector v1.2.1
37493793
[WM] RFC925 Hostname = ConfigOnDoubleReset
37503794
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -3803,7 +3847,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
38033847

38043848
```cpp
38053849
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU_ESP12E
3806-
ESPAsync_WiFiManager v1.10.0
3850+
ESPAsync_WiFiManager v1.11.0
38073851
ESP_DoubleResetDetector v1.2.1
38083852
[WM] RFC925 Hostname = ConfigOnDoubleReset
38093853
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -3863,7 +3907,7 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/
38633907
38643908
```cpp
38653909
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
3866-
ESPAsync_WiFiManager v1.10.0
3910+
ESPAsync_WiFiManager v1.11.0
38673911
ESP_DoubleResetDetector v1.2.1
38683912
Opening / directory
38693913
FS File: CanadaFlag_1.png, size: 40.25KB
@@ -3941,7 +3985,7 @@ This is terminal debug output when running [Async_ESP32_FSWebServer_DRD](example
39413985

39423986
```
39433987
Starting Async_ESP32_FSWebServer_DRD using LittleFS on ESP32_DEV
3944-
ESPAsync_WiFiManager v1.10.0
3988+
ESPAsync_WiFiManager v1.11.0
39453989
ESP_DoubleResetDetector v1.2.1
39463990
FS File: /CanadaFlag_1.png, size: 40.25KB
39473991
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -4052,7 +4096,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
40524096

40534097
```
40544098
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S2_DEV
4055-
ESPAsync_WiFiManager v1.10.0
4099+
ESPAsync_WiFiManager v1.11.0
40564100
ESP_DoubleResetDetector v1.2.1
40574101
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
40584102
[WM] * Add SSID = HueNet1 , PW = 12345678
@@ -4089,7 +4133,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
40894133

40904134
```
40914135
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4092-
ESPAsync_WiFiManager v1.10.0
4136+
ESPAsync_WiFiManager v1.11.0
40934137
ESP_DoubleResetDetector v1.2.1
40944138
ESP Self-Stored: SSID = HueNet1, Pass = password
40954139
[WM] * Add SSID = HueNet1 , PW = password
@@ -4133,7 +4177,7 @@ Local Date/Time: Sat May 1 00:17:30 2021
41334177

41344178
```
41354179
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4136-
ESPAsync_WiFiManager v1.10.0
4180+
ESPAsync_WiFiManager v1.11.0
41374181
ESP_DoubleResetDetector v1.2.1
41384182
ESP Self-Stored: SSID = HueNet1, Pass = password
41394183
[WM] * Add SSID = HueNet1 , PW = password
@@ -4180,7 +4224,7 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/
41804224

41814225
```
41824226
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4183-
ESPAsync_WiFiManager v1.10.0
4227+
ESPAsync_WiFiManager v1.11.0
41844228
ESP_DoubleResetDetector v1.2.1
41854229
Opening / directory
41864230
FS File: drd.dat, size: 4B
@@ -4253,7 +4297,7 @@ Local Date/Time: Sat May 1 03:12:54 2021
42534297

42544298
```
42554299
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4256-
ESPAsync_WiFiManager v1.10.0
4300+
ESPAsync_WiFiManager v1.11.0
42574301
ESP_DoubleResetDetector v1.2.1
42584302
Opening / directory
42594303
FS File: drd.dat, size: 4B
@@ -4312,7 +4356,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
43124356

43134357
```
43144358
Starting Async_ConfigOnDoubleReset_TZ using SPIFFS on ESP32C3_DEV
4315-
ESPAsync_WiFiManager v1.10.0
4359+
ESPAsync_WiFiManager v1.11.0
43164360
ESP_DoubleResetDetector v1.2.1
43174361
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
43184362
[WM] * Add SSID = HueNet1 , PW = 12345678

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.11.0](#releases-v1110)
1516
* [Releases v1.10.0](#releases-v1100)
1617
* [Releases v1.9.8](#releases-v198)
1718
* [Releases v1.9.7](#releases-v197)
@@ -46,6 +47,10 @@
4647

4748
## Changelog
4849

50+
### Releases v1.11.0
51+
52+
1. Reduce the breaking effect of v1.10.0 by enabling compatibility with old code to include only `ESPAsync_WiFiManager.h`. Check [Important Breaking Change from v1.10.0](https://github.com/khoih-prog/ESPAsync_WiFiManager#Important-Breaking-Change-from-v1100)
53+
4954
### Releases v1.10.0
5055

5156
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/Async_AutoConnect/Async_AutoConnect.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1919
#endif
2020

21-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.11.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1011000
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -247,7 +247,9 @@ IPAddress APStaticGW = IPAddress(192, 168, 100, 1);
247247
IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
248248

249249
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
250-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
250+
251+
// Redundant, for v1.10.0 only
252+
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
251253

252254
#define HTTP_PORT 80
253255

examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
23-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.11.0"
23+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1011000
2424

2525
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2626
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -262,7 +262,9 @@ IPAddress APStaticGW = IPAddress(192, 168, 100, 1);
262262
IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
263263

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

267269
#define HTTP_PORT 80
268270

examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
23-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.11.0"
23+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1011000
2424

2525
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2626
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -259,7 +259,9 @@ IPAddress APStaticGW = IPAddress(192, 168, 100, 1);
259259
IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
260260

261261
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
262-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
262+
263+
// Redundant, for v1.10.0 only
264+
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
263265

264266
#define HTTP_PORT 80
265267

examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1919
#endif
2020

21-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.11.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1011000
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -251,7 +251,9 @@ IPAddress APStaticGW = IPAddress(192, 168, 100, 1);
251251
IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
252252

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

256258
#define HTTP_PORT 80
257259

examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.10.0"
23-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1010000
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.11.0"
23+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1011000
2424

2525
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2626
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -255,7 +255,9 @@ IPAddress APStaticGW = IPAddress(192, 168, 100, 1);
255255
IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
256256

257257
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
258-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
258+
259+
// Redundant, for v1.10.0 only
260+
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
259261

260262
#define HTTP_PORT 80
261263

examples/Async_AutoConnect_ESP32_minimal/Async_AutoConnect_ESP32_minimal.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
99
#endif
1010
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
11-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
11+
// Redundant, for v1.10.0 only
12+
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
1213
AsyncWebServer webServer(80);
1314
#if !( USING_ESP32_S2 || USING_ESP32_C3 )
1415
DNSServer dnsServer;

examples/Async_AutoConnect_ESP8266_minimal/Async_AutoConnect_ESP8266_minimal.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#error This code is intended to run on ESP8266 platform! Please check your Tools->Board setting.
99
#endif
1010
#include <ESPAsync_WiFiManager.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
11-
#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
11+
// Redundant, for v1.10.0 only
12+
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
1213
AsyncWebServer webServer(80);
1314
DNSServer dnsServer;
1415

0 commit comments

Comments
 (0)