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

Commit be68975

Browse files
authoredDec 1, 2021
v1.9.8 to fix bug
### Releases v1.9.8 1. Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
1 parent 6e32781 commit be68975

File tree

34 files changed

+101
-63
lines changed

34 files changed

+101
-63
lines changed
 

‎README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
21092109
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
21102110
#endif
21112111

2112-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.7"
2112+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
21132113

21142114
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
21152115
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -3475,7 +3475,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium
34753475
34763476
```
34773477
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3478-
ESPAsync_WiFiManager v1.9.7
3478+
ESPAsync_WiFiManager v1.9.8
34793479
ESP_DoubleResetDetector v1.2.1
34803480
Config File not found
34813481
Can't read Config File, using default values
@@ -3494,7 +3494,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
34943494
34953495
```
34963496
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3497-
ESPAsync_WiFiManager v1.9.7
3497+
ESPAsync_WiFiManager v1.9.8
34983498
ESP_DoubleResetDetector v1.2.1
34993499
Config File not found
35003500
Can't read Config File, using default values
@@ -3582,7 +3582,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Comple
35823582
35833583
```
35843584
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3585-
ESPAsync_WiFiManager v1.9.7
3585+
ESPAsync_WiFiManager v1.9.8
35863586
ESP_DoubleResetDetector v1.2.1
35873587
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
35883588
Config File successfully parsed
@@ -3622,7 +3622,7 @@ TWWWW WTWWW
36223622
36233623
```
36243624
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3625-
ESPAsync_WiFiManager v1.9.7
3625+
ESPAsync_WiFiManager v1.9.8
36263626
ESP_DoubleResetDetector v1.2.1
36273627
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
36283628
Config File successfully parsed
@@ -3712,7 +3712,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
37123712
37133713
```cpp
37143714
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using SPIFFS on ESP32_DEV
3715-
ESPAsync_WiFiManager v1.9.7
3715+
ESPAsync_WiFiManager v1.9.8
37163716
ESP_DoubleResetDetector v1.2.1
37173717
[WM] RFC925 Hostname = ConfigOnDoubleReset
37183718
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -3771,7 +3771,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
37713771

37723772
```cpp
37733773
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU_ESP12E
3774-
ESPAsync_WiFiManager v1.9.7
3774+
ESPAsync_WiFiManager v1.9.8
37753775
ESP_DoubleResetDetector v1.2.1
37763776
[WM] RFC925 Hostname = ConfigOnDoubleReset
37773777
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -3831,7 +3831,7 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/
38313831
38323832
```cpp
38333833
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
3834-
ESPAsync_WiFiManager v1.9.7
3834+
ESPAsync_WiFiManager v1.9.8
38353835
ESP_DoubleResetDetector v1.2.1
38363836
Opening / directory
38373837
FS File: CanadaFlag_1.png, size: 40.25KB
@@ -3909,7 +3909,7 @@ This is terminal debug output when running [Async_ESP32_FSWebServer_DRD](example
39093909

39103910
```
39113911
Starting Async_ESP32_FSWebServer_DRD using LittleFS on ESP32_DEV
3912-
ESPAsync_WiFiManager v1.9.7
3912+
ESPAsync_WiFiManager v1.9.8
39133913
ESP_DoubleResetDetector v1.2.1
39143914
FS File: /CanadaFlag_1.png, size: 40.25KB
39153915
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -4020,7 +4020,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
40204020

40214021
```
40224022
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S2_DEV
4023-
ESPAsync_WiFiManager v1.9.7
4023+
ESPAsync_WiFiManager v1.9.8
40244024
ESP_DoubleResetDetector v1.2.1
40254025
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
40264026
[WM] * Add SSID = HueNet1 , PW = 12345678
@@ -4057,7 +4057,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
40574057

40584058
```
40594059
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4060-
ESPAsync_WiFiManager v1.9.7
4060+
ESPAsync_WiFiManager v1.9.8
40614061
ESP_DoubleResetDetector v1.2.1
40624062
ESP Self-Stored: SSID = HueNet1, Pass = password
40634063
[WM] * Add SSID = HueNet1 , PW = password
@@ -4101,7 +4101,7 @@ Local Date/Time: Sat May 1 00:17:30 2021
41014101

41024102
```
41034103
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4104-
ESPAsync_WiFiManager v1.9.7
4104+
ESPAsync_WiFiManager v1.9.8
41054105
ESP_DoubleResetDetector v1.2.1
41064106
ESP Self-Stored: SSID = HueNet1, Pass = password
41074107
[WM] * Add SSID = HueNet1 , PW = password
@@ -4148,7 +4148,7 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/
41484148

41494149
```
41504150
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4151-
ESPAsync_WiFiManager v1.9.7
4151+
ESPAsync_WiFiManager v1.9.8
41524152
ESP_DoubleResetDetector v1.2.1
41534153
Opening / directory
41544154
FS File: drd.dat, size: 4B
@@ -4221,7 +4221,7 @@ Local Date/Time: Sat May 1 03:12:54 2021
42214221

42224222
```
42234223
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4224-
ESPAsync_WiFiManager v1.9.7
4224+
ESPAsync_WiFiManager v1.9.8
42254225
ESP_DoubleResetDetector v1.2.1
42264226
Opening / directory
42274227
FS File: drd.dat, size: 4B
@@ -4280,7 +4280,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
42804280

42814281
```
42824282
Starting Async_ConfigOnDoubleReset_TZ using SPIFFS on ESP32C3_DEV
4283-
ESPAsync_WiFiManager v1.9.7
4283+
ESPAsync_WiFiManager v1.9.8
42844284
ESP_DoubleResetDetector v1.2.1
42854285
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
42864286
[WM] * Add SSID = HueNet1 , PW = 12345678

‎changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.9.8](#releases-v198)
1516
* [Releases v1.9.7](#releases-v197)
1617
* [Releases v1.9.6](#releases-v196)
1718
* [Releases v1.9.5](#releases-v195)
@@ -44,6 +45,10 @@
4445

4546
## Changelog
4647

48+
### Releases v1.9.8
49+
50+
1. Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
51+
4752
### Releases v1.9.7
4853

4954
1. Fix bug to permit using HTTP port different from 80. Check [WiFiManager works only on port 80 #75](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/75)

‎examples/Async_AutoConnect/Async_AutoConnect.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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.9.6"
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2222

2323
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2424
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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.9.6"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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.9.6"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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.9.6"
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2222

2323
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2424
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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.9.6"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
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_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
34+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3535

3636
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3737
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
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_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
34+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3535

3636
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3737
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 2

‎examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
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_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
34+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3535

3636
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3737
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigOnDoubleReset/Async_ConfigOnDoubleReset.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
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_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
45+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
4646

4747
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
48-
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 1
48+
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
4949

5050
#include <FS.h>
5151

‎examples/Async_ConfigOnDoubleReset_TZ/Async_ConfigOnDoubleReset_TZ.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
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_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
45+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
4646

4747
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
4848
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 1

‎examples/Async_ConfigOnStartup/Async_ConfigOnStartup.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3434
#endif
3535

36-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
36+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3737

3838
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3939
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigOnSwitch/Async_ConfigOnSwitch.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3131
#endif
3232

33-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
33+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3434

3535
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3636
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigOnSwitchFS/Async_ConfigOnSwitchFS.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
5454
#endif
5555

56-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
56+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
5757

5858
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
5959
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigOnSwitchFS_MQTT_Ptr/Async_ConfigOnSwitchFS_MQTT_Ptr.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3636
#endif
3737

38-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
38+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3939

4040
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
4141
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ConfigPortalParamsOnSwitch/Async_ConfigPortalParamsOnSwitch.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3333
#endif
3434

35-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
35+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3636

3737
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3838
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ESP32_FSWebServer/Async_ESP32_FSWebServer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#error This code is intended to run only on the ESP32 platform! Please check your Tools->Board setting.
3535
#endif
3636

37-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
37+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3838

3939
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
4040
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ESP32_FSWebServer_DRD/Async_ESP32_FSWebServer_DRD.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#error This code is intended to run only on the ESP32 platform! Please check your Tools->Board setting.
3535
#endif
3636

37-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
37+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3838

3939
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
4040
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ESP_FSWebServer/Async_ESP_FSWebServer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting.
3535
#endif
3636

37-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
37+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3838

3939
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
4040
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/Async_ESP_FSWebServer_DRD/Async_ESP_FSWebServer_DRD.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting.
3535
#endif
3636

37-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
37+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
3838

3939
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
4040
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/ModelessConnect/ModelessConnect.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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.9.6"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎examples/ModelessWithInterrupts/ModelessWithInterrupts.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error This code is intended to run on the ESP8266! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.8"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3

‎library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESPAsync_WiFiManager",
3-
"version": "1.9.7",
3+
"version": "1.9.8",
44
"keywords": "wifi, wi-fi, WiFiManager, esp8266, esp32, esp32-s2, esp32-c3, AsyncWebServer, Async-WebServer, Async-WiFiManager, MultiWiFi, Async, Communication, Credentials, Config-Portal, DoubleReset, MultiReset, littlefs, spiffs, eeprom, dns-server, iot",
55
"description": "ESP32 (including ESP32-S2 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 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":

‎library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESPAsync_WiFiManager
2-
version=1.9.7
2+
version=1.9.8
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
license=MIT

‎src/ESPAsync_WiFiManager-Impl.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616

17-
Version: 1.9.7
17+
Version: 1.9.8
1818

1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -45,7 +45,8 @@
4545
1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
48-
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
48+
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once

‎src/ESPAsync_WiFiManager.h

+14-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -45,7 +45,8 @@
4545
1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
48-
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
48+
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once
@@ -67,7 +68,7 @@
6768
#define USING_ESP32_C3 true
6869
#endif
6970

70-
#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.7"
71+
#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.8"
7172

7273
#if ESP8266
7374
#if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4)
@@ -603,11 +604,19 @@ class ESPAsync_WiFiManager
603604
WiFi.hostname(RFC952_hostname);
604605
#else
605606

606-
#if !( USING_ESP32_S2 || USING_ESP32_C3 )
607+
// Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
608+
//#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
609+
#if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
610+
WiFi.setHostname(RFC952_hostname);
611+
#else
612+
// Still have bug in ESP32_S2 for old core. If using WiFi.setHostname() => WiFi.localIP() always = 255.255.255.255
613+
if ( String(ARDUINO_BOARD) != "ESP32S2_DEV" )
614+
{
607615
// See https://github.com/espressif/arduino-esp32/issues/2537
608616
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE);
609617
WiFi.setHostname(RFC952_hostname);
610-
#endif
618+
}
619+
#endif
611620
#endif
612621
}
613622
}

‎src/ESPAsync_WiFiManager_Debug.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -45,7 +45,8 @@
4545
1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
48-
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
48+
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once

‎src_cpp/ESPAsync_WiFiManager.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -46,6 +46,7 @@
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
4848
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#include "ESPAsync_WiFiManager.h"

‎src_cpp/ESPAsync_WiFiManager.h

+13-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -46,6 +46,7 @@
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
4848
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once
@@ -67,7 +68,7 @@
6768
#define USING_ESP32_C3 true
6869
#endif
6970

70-
#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.7"
71+
#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.8"
7172

7273
#if ESP8266
7374
#if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4)
@@ -603,11 +604,19 @@ class ESPAsync_WiFiManager
603604
WiFi.hostname(RFC952_hostname);
604605
#else
605606

606-
#if !( USING_ESP32_S2 || USING_ESP32_C3 )
607+
// Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
608+
//#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
609+
#if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
610+
WiFi.setHostname(RFC952_hostname);
611+
#else
612+
// Still have bug in ESP32_S2 for old core. If using WiFi.setHostname() => WiFi.localIP() always = 255.255.255.255
613+
if ( String(ARDUINO_BOARD) != "ESP32S2_DEV" )
614+
{
607615
// See https://github.com/espressif/arduino-esp32/issues/2537
608616
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE);
609617
WiFi.setHostname(RFC952_hostname);
610-
#endif
618+
}
619+
#endif
611620
#endif
612621
}
613622
}

‎src_cpp/ESPAsync_WiFiManager_Debug.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -46,6 +46,7 @@
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
4848
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once

‎src_h/ESPAsync_WiFiManager-Impl.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -45,7 +45,8 @@
4545
1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
48-
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
48+
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once

‎src_h/ESPAsync_WiFiManager.h

+14-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -45,7 +45,8 @@
4545
1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
48-
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
48+
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once
@@ -67,7 +68,7 @@
6768
#define USING_ESP32_C3 true
6869
#endif
6970

70-
#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.7"
71+
#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.8"
7172

7273
#if ESP8266
7374
#if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4)
@@ -603,11 +604,19 @@ class ESPAsync_WiFiManager
603604
WiFi.hostname(RFC952_hostname);
604605
#else
605606

606-
#if !( USING_ESP32_S2 || USING_ESP32_C3 )
607+
// Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
608+
//#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
609+
#if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
610+
WiFi.setHostname(RFC952_hostname);
611+
#else
612+
// Still have bug in ESP32_S2 for old core. If using WiFi.setHostname() => WiFi.localIP() always = 255.255.255.255
613+
if ( String(ARDUINO_BOARD) != "ESP32S2_DEV" )
614+
{
607615
// See https://github.com/espressif/arduino-esp32/issues/2537
608616
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE);
609617
WiFi.setHostname(RFC952_hostname);
610-
#endif
618+
}
619+
#endif
611620
#endif
612621
}
613622
}

‎src_h/ESPAsync_WiFiManager_Debug.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager
1515
Licensed under MIT license
1616
17-
Version: 1.9.7
17+
Version: 1.9.8
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
@@ -45,7 +45,8 @@
4545
1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
4646
1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library
4747
1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5-
48-
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
48+
1.9.7 K Hoang 30/11/2021 Fix bug to permit using HTTP port different from 80
49+
1.9.8 K Hoang 01/12/2021 Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
4950
*****************************************************************************************************************************/
5051

5152
#pragma once

0 commit comments

Comments
 (0)
This repository has been archived.