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

Commit 1818e48

Browse files
authored
v1.13.0 to using AsynsDNSServer
### Releases v1.13.0 1. Using AsynsDNSServer instead of DNSServer. Check [Captive Portal hanging depending on active core for AsyncTCP #100](#100)
1 parent b85697b commit 1818e48

File tree

6 files changed

+38
-32
lines changed

6 files changed

+38
-32
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
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.2)
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.4)
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,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.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 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: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,9 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W
263263

264264
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)
265265
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/)
266-
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/)
266+
3. [`ESP32 Core 2.0.4+`](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/)
267267
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.
268-
5. [`ESPAsyncDNSServer v1.0.0+`](https://github.com/devyte/ESPAsyncDNSServer) for all ESP32/ESP8266-based boards.
268+
5. [`ESPAsyncDNSServer v1.0.0+`](https://github.com/devyte/ESPAsyncDNSServer) or [`ESPAsyncDNSServer v1.0.0+`](https://github.com/khoih-prog/ESPAsyncDNSServer/releases/tag/v1.0.0) for all ESP32/ESP8266-based boards.
269269
6. [`ESPAsyncTCP v1.2.2+`](https://github.com/me-no-dev/ESPAsyncTCP) for ESP8266-based boards.
270270
7. [`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP) for ESP32-based boards
271271
8. [`ESP_DoubleResetDetector v1.3.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). Use v1.1.0+ if using LittleFS for EP32.
@@ -277,6 +277,7 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W
277277
## Installation
278278

279279
### Use Arduino Library Manager
280+
280281
The best and easiest way is to use `Arduino Library Manager`. Search for `ESPAsync_WiFiManager`, then select / install the latest version. You can also use this link [![arduino-library-badge](https://www.ardu-badge.com/badge/ESPAsync_WiFiManager.svg?)](https://www.ardu-badge.com/ESPAsync_WiFiManager) for more detailed instructions.
281282

282283
### Manual Install
@@ -495,7 +496,7 @@ then connect WebBrowser to configurable ConfigPortal IP address, default is 192.
495496

496497
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
497498
//needed for library
498-
#include <DNSServer.h>
499+
#include <ESPAsyncDNSServer.h>
499500

500501
// From v1.1.1
501502
#include <ESP8266WiFiMulti.h>
@@ -643,7 +644,7 @@ WM_Config WM_config;
643644

644645
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
645646
//needed for library
646-
#include <DNSServer.h>
647+
#include <ESPAsyncDNSServer.h>
647648

648649
// From v1.1.1
649650
#include <ESP8266WiFiMulti.h>
@@ -2178,8 +2179,8 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
21782179

21792180
### Example [Async_ConfigOnDRD_FS_MQTT_Ptr](examples/Async_ConfigOnDRD_FS_MQTT_Ptr)
21802181

2181-
https://github.com/khoih-prog/ESPAsync_WiFiManager/blob/76ad904f63512b3a52f5fe00cc74c47d6ea6e49d/examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino#L17-L1408
21822182

2183+
https://github.com/khoih-prog/ESPAsync_WiFiManager/blob/b85697b9ce88ae46aaa19dd3e23985dcbc7d5103/examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino#L17-L1408
21832184

21842185
---
21852186
---
@@ -2194,7 +2195,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium
21942195

21952196
```
21962197
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
2197-
ESPAsync_WiFiManager v1.12.2
2198+
ESPAsync_WiFiManager v1.13.0
21982199
ESP_DoubleResetDetector v1.3.1
21992200
Config File not found
22002201
Can't read Config File, using default values
@@ -2213,7 +2214,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
22132214

22142215
```
22152216
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
2216-
ESPAsync_WiFiManager v1.12.2
2217+
ESPAsync_WiFiManager v1.13.0
22172218
ESP_DoubleResetDetector v1.3.1
22182219
Config File not found
22192220
Can't read Config File, using default values
@@ -2301,7 +2302,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Comple
23012302

23022303
```
23032304
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
2304-
ESPAsync_WiFiManager v1.12.2
2305+
ESPAsync_WiFiManager v1.13.0
23052306
ESP_DoubleResetDetector v1.3.1
23062307
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
23072308
Config File successfully parsed
@@ -2341,7 +2342,7 @@ TWWWW WTWWW
23412342

23422343
```
23432344
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
2344-
ESPAsync_WiFiManager v1.12.2
2345+
ESPAsync_WiFiManager v1.13.0
23452346
ESP_DoubleResetDetector v1.3.1
23462347
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
23472348
Config File successfully parsed
@@ -2431,7 +2432,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
24312432

24322433
```cpp
24332434
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using SPIFFS on ESP32_DEV
2434-
ESPAsync_WiFiManager v1.12.2
2435+
ESPAsync_WiFiManager v1.13.0
24352436
ESP_DoubleResetDetector v1.3.1
24362437
[WM] RFC925 Hostname = ConfigOnDoubleReset
24372438
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -2490,7 +2491,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
24902491
24912492
```cpp
24922493
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU_ESP12E
2493-
ESPAsync_WiFiManager v1.12.2
2494+
ESPAsync_WiFiManager v1.13.0
24942495
ESP_DoubleResetDetector v1.3.1
24952496
[WM] RFC925 Hostname = ConfigOnDoubleReset
24962497
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -2550,7 +2551,7 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/
25502551

25512552
```cpp
25522553
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
2553-
ESPAsync_WiFiManager v1.12.2
2554+
ESPAsync_WiFiManager v1.13.0
25542555
ESP_DoubleResetDetector v1.3.1
25552556
Opening / directory
25562557
FS File: CanadaFlag_1.png, size: 40.25KB
@@ -2628,7 +2629,7 @@ This is terminal debug output when running [Async_ESP32_FSWebServer_DRD](example
26282629
26292630
```
26302631
Starting Async_ESP32_FSWebServer_DRD using LittleFS on ESP32_DEV
2631-
ESPAsync_WiFiManager v1.12.2
2632+
ESPAsync_WiFiManager v1.13.0
26322633
ESP_DoubleResetDetector v1.3.1
26332634
FS File: /CanadaFlag_1.png, size: 40.25KB
26342635
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -2739,7 +2740,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
27392740
27402741
```
27412742
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S2_DEV
2742-
ESPAsync_WiFiManager v1.12.2
2743+
ESPAsync_WiFiManager v1.13.0
27432744
ESP_DoubleResetDetector v1.3.1
27442745
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
27452746
[WM] * Add SSID = HueNet1 , PW = 12345678
@@ -2776,7 +2777,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
27762777
27772778
```
27782779
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
2779-
ESPAsync_WiFiManager v1.12.2
2780+
ESPAsync_WiFiManager v1.13.0
27802781
ESP_DoubleResetDetector v1.3.1
27812782
ESP Self-Stored: SSID = HueNet1, Pass = password
27822783
[WM] * Add SSID = HueNet1 , PW = password
@@ -2818,7 +2819,7 @@ Local Date/Time: Thu Feb 10 23:50:26 2022
28182819
28192820
```
28202821
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
2821-
ESPAsync_WiFiManager v1.12.2
2822+
ESPAsync_WiFiManager v1.13.0
28222823
ESP_DoubleResetDetector v1.3.1
28232824
ESP Self-Stored: SSID = HueNet1, Pass = password
28242825
[WM] * Add SSID = HueNet1 , PW = password
@@ -2867,7 +2868,7 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/
28672868
28682869
```
28692870
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
2870-
ESPAsync_WiFiManager v1.12.2
2871+
ESPAsync_WiFiManager v1.13.0
28712872
ESP_DoubleResetDetector v1.3.1
28722873
Opening / directory
28732874
FS File: drd.dat, size: 4B
@@ -2940,7 +2941,7 @@ Local Date/Time: Thu Feb 10 23:16:26 2022
29402941
29412942
```
29422943
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
2943-
ESPAsync_WiFiManager v1.12.2
2944+
ESPAsync_WiFiManager v1.13.0
29442945
ESP_DoubleResetDetector v1.3.1
29452946
Opening / directory
29462947
FS File: drd.dat, size: 4B
@@ -2999,7 +3000,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
29993000
30003001
```
30013002
Starting Async_ConfigOnDoubleReset_TZ using SPIFFS on ESP32C3_DEV
3002-
ESPAsync_WiFiManager v1.12.2
3003+
ESPAsync_WiFiManager v1.13.0
30033004
ESP_DoubleResetDetector v1.3.1
30043005
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
30053006
[WM] * Add SSID = HueNet1 , PW = 12345678
@@ -3045,7 +3046,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
30453046
30463047
```
30473048
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S3_DEV
3048-
ESPAsync_WiFiManager v1.12.2
3049+
ESPAsync_WiFiManager v1.13.0
30493050
ESP_DoubleResetDetector v1.3.1
30503051
ESP Self-Stored: SSID = HueNet1, Pass = password
30513052
[WM] * Add SSID = HueNet1 , PW = password
@@ -3088,7 +3089,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
30883089
30893090
```
30903091
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32C3_DEV
3091-
ESPAsync_WiFiManager v1.12.2
3092+
ESPAsync_WiFiManager v1.13.0
30923093
ESP_DoubleResetDetector v1.3.1
30933094
ESP Self-Stored: SSID = HueNet1, Pass = password
30943095
[WM] * Add SSID = HueNet1 , PW = password
@@ -3180,6 +3181,7 @@ Submit issues to: [ESPAsync_WiFiManager issues](https://github.com/khoih-prog/ES
31803181
17. Thanks to [Francisco Trillo](https://github.com/Frtrillo) for reporting [Not working with ESP32 and Core 2.0.1 (or 2.0.0+) #74](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/74) leading to v1.9.5
31813182
18. Thanks to [Dean Ott](https://github.com/deanjott) for reporting [WiFiManager works only on port 80 #75](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/75) and providing the solution leading to v1.9.7
31823183
19. Thanks to [Twaste](https://github.com/Twaste) for initiate the discussion in [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80) and providing the idea to the solution, to fix `multiple-definitions` linker error, leading to v1.10.0
3184+
20. Thanks to [Zongyi Yang](https://github.com/ZongyiYang) for creating merged PR [Fixes Captive Portal hanging depending on active core for AsyncTCP #100 #104](https://github.com/khoih-prog/ESPAsync_WiFiManager/pull/104).
31833185

31843186

31853187
<table>
@@ -3212,6 +3214,7 @@ Submit issues to: [ESPAsync_WiFiManager issues](https://github.com/khoih-prog/ES
32123214
<td align="center"><a href="https://github.com/Frtrillo"><img src="https://github.com/Frtrillo.png" width="100px;" alt="Frtrillo"/><br /><sub><b>Francisco Trillo</b></sub></a><br /></td>
32133215
<td align="center"><a href="https://github.com/deanjott"><img src="https://github.com/deanjott.png" width="100px;" alt="deanjott"/><br /><sub><b>Dean Ott</b></sub></a><br /></td>
32143216
<td align="center"><a href="https://github.com/Twaste"><img src="https://github.com/Twaste.png" width="100px;" alt="Twaste"/><br /><sub><b>Twaste</b></sub></a><br /></td>
3217+
<td align="center"><a href="https://github.com/ZongyiYang"><img src="https://github.com/ZongyiYang.png" width="100px;" alt="ZongyiYang"/><br /><sub><b>Zongyi Yang</b></sub></a><br /></td>
32153218
</tr>
32163219
</table>
32173220

@@ -3220,6 +3223,7 @@ Submit issues to: [ESPAsync_WiFiManager issues](https://github.com/khoih-prog/ES
32203223
### Contributing
32213224

32223225
If you want to contribute to this project:
3226+
32233227
- Report bugs and errors
32243228
- Ask for enhancements
32253229
- Create issues and pull requests

changelog.md

Lines changed: 6 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.13.0](#releases-v1130)
1516
* [Releases v1.12.2](#releases-v1122)
1617
* [Releases v1.12.1](#releases-v1121)
1718
* [Releases v1.12.0](#releases-v1120)
@@ -50,6 +51,11 @@
5051

5152
## Changelog
5253

54+
### Releases v1.13.0
55+
56+
1. Using AsynsDNSServer instead of DNSServer. Check [Captive Portal hanging depending on active core for AsyncTCP #100](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/100)
57+
58+
5359
### Releases v1.12.2
5460

5561
1. Optimize code by using passing by `reference` instead of by `value`

library.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESPAsync_WiFiManager",
3-
"version": "1.12.2",
3+
"version": "1.13.0",
44
"keywords": "wifi, WiFiManager, esp8266, esp32, esp32-s2, esp32-s3, esp32-c3, AsyncWebServer, Async-WiFiManager, MultiWiFi, Async, Communication, Credentials, Config-Portal, DoubleReset, MultiReset, littlefs, spiffs, dns-server, iot, eeprom",
55
"description": "ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3), ESP8266 WiFi Connection Manager using AsyncWebServer, with enhanced GUI and fallback Web ConfigPortal. This Library is used for configuring ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3), ESP8266 modules WiFi Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP channel. Now with MultiWiFi auto(Re)connect, configurable CORS Header and auto-Timezone features. Auto detect ESP32 core and use either built-in LittleFS or external LITTLEFS library",
66
"authors":
@@ -46,12 +46,6 @@
4646
"name": "ESP_DoubleResetDetector",
4747
"version": ">=1.3.1",
4848
"platforms": ["espressif8266", "espressif32"]
49-
},
50-
{
51-
"owner": "lorol",
52-
"name": "LittleFS_esp32",
53-
"version": ">=1.0.6",
54-
"platforms": ["espressif32"]
5549
}
5650
],
5751
"license": "MIT",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESPAsync_WiFiManager
2-
version=1.12.2
2+
version=1.13.0
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT

platformio/platformio.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ upload_speed = 921600
2929

3030
; Checks for the compatibility with frameworks and dev/platforms
3131
lib_compat_mode = strict
32+
lib_ldf_mode = chain+
33+
;lib_ldf_mode = deep+
3234

3335
lib_deps =
3436
; PlatformIO 4.x
@@ -42,7 +44,7 @@ lib_deps =
4244
me-no-dev/ESPAsyncTCP@>=1.2.2
4345
me-no-dev/AsyncTCP@>=1.1.1
4446
khoih-prog/ESP_DoubleResetDetector@>=1.3.1
45-
lorol/LittleFS_esp32@>=1.0.6
47+
; lorol/LittleFS_esp32@>=1.0.6
4648

4749
build_flags =
4850
; set your debug output (default=Serial)

0 commit comments

Comments
 (0)