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

Commit 5866967

Browse files
authored
v1.9.1 to use ESP8266 core v3.0.0
### Releases v1.9.1 1. Fix warnings and verify compatibility with new ESP8266 core v3.0.0 2. Autodetect ESP8266 core v1.7.4- or new ESP8266 core v3.0.0 to use the new breaking features
1 parent 78a86c0 commit 5866967

File tree

35 files changed

+268
-127
lines changed

35 files changed

+268
-127
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 3 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.13) or Platform.io version
18-
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v2.7.4 or ESP32 v1.0.6)
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.0 or ESP32 v1.0.6)
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:
@@ -27,9 +27,9 @@ Please ensure to specify the following:
2727

2828
```
2929
Arduino IDE version: 1.8.13
30-
ESP8266 Core Version 2.7.4
30+
ESP8266 Core Version 3.0.0
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
I encountered an endless loop while trying to connect to Local WiFi.
@@ -40,6 +40,7 @@ Steps to reproduce:
4040
3. ...
4141
4. ...
4242
```
43+
4344
### Sending Feature Requests
4445

4546
Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.

README.md

Lines changed: 48 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* [Why Async is better](#why-async-is-better)
1717
* [Currently supported Boards](#currently-supported-boards)
1818
* [Changelog](#changelog)
19+
* [Releases v1.9.1](#releases-v191)
1920
* [Releases v1.9.0](#releases-v190)
2021
* [Releases v1.8.1](#releases-v181)
2122
* [Major Releases v1.8.0](#major-releases-v180)
@@ -149,19 +150,19 @@
149150
* [Async_ConfigOnDRD_ESP32_minimal](examples/Async_ConfigOnDRD_ESP32_minimal)
150151
* [Async_ConfigOnDRD_ESP8266_minimal](examples/Async_ConfigOnDRD_ESP8266_minimal)
151152
* [Example Async_ConfigOnDRD_FS_MQTT_Ptr](#example-async_configondrd_fs_mqtt_ptr)
152-
* [Debug Terminal Output Samples](#debug-termimal-output-samples)
153+
* [Debug Terminal Output Samples](#debug-terminal-output-samples)
153154
* [1. Async_ConfigOnDRD_FS_MQTT_Ptr on ESP32_DEV](#1-async_configondrd_fs_mqtt_ptr_medium-on-esp32_dev)
154-
* [2. Async_ConfigOnDRD_FS_MQTT_Ptr on ESP8266_NODEMCU](#2-async_configondrd_fs_mqtt_ptr_complex-on-esp8266_nodemcu)
155+
* [2. Async_ConfigOnDRD_FS_MQTT_Ptr on ESP8266_NODEMCU_ESP12E](#2-async_configondrd_fs_mqtt_ptr_complex-on-ESP8266_NODEMCU_ESP12E)
155156
* [3. Async_ConfigOnDoubleReset on ESP32_DEV](#3-async_configondoublereset-on-esp32_dev)
156-
* [4. Async_ConfigOnDoubleReset on ESP8266_NODEMCU](#4-async_configondoublereset-on-esp8266_nodemcu)
157-
* [5. Async_ESP_FSWebServer_DRD on ESP8266_NODEMCU](#5-async_esp_fswebserver_drd-on-esp8266_nodemcu)
157+
* [4. Async_ConfigOnDoubleReset on ESP8266_NODEMCU_ESP12E](#4-async_configondoublereset-on-ESP8266_NODEMCU_ESP12E)
158+
* [5. Async_ESP_FSWebServer_DRD on ESP8266_NODEMCU_ESP12E](#5-async_esp_fswebserver_drd-on-ESP8266_NODEMCU_ESP12E)
158159
* [6. Async_ESP32_FSWebServer_DRD on ESP32_DEV](#6-async_esp32_fswebserver_drd-on-esp32_dev)
159160
* [7. Async_ConfigOnDoubleReset on ESP32S2_DEV](#7-async_configondoublereset-on-esp32s2_dev)
160161
* [8. Async_ConfigOnDoubleReset_TZ on ESP32_DEV](#8-async_configondoublereset_tz-on-esp32_dev)
161162
* [8.1 DRD => Config Portal](#81-drd--config-portal)
162163
* [8.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP](#82-data-saved--connect-to-wifi-with-correct-local-time-tz-set-and-using-ntp)
163164
* [8.3 Normal running with correct local time, TZ set and using NTP](#83-normal-running-with-correct-local-time-tz-set-and-using-ntp)
164-
* [9. Async_ESP_FSWebServer_DRD on ESP8266_NODEMCU](#9-async_esp_fswebserver_drd-on-esp8266_nodemcu)
165+
* [9. Async_ESP_FSWebServer_DRD on ESP8266_NODEMCU_ESP12E](#9-async_esp_fswebserver_drd-on-ESP8266_NODEMCU_ESP12E)
165166
* [9.1 DRD => Config Portal](#91-drd--config-portal)
166167
* [9.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP](#92-data-saved--connect-to-wifi-with-correct-local-time-tz-set-and-using-ntp)
167168
* [9.3 Normal running with correct local time, TZ set and using NTP](#93-normal-running-with-correct-local-time-tz-set-and-using-ntp)
@@ -226,6 +227,11 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W
226227

227228
## Changelog
228229

230+
### Releases v1.9.1
231+
232+
1. Fix warnings and verify compatibility with new ESP8266 core v3.0.0
233+
2. Autodetect ESP8266 core v1.7.4- or new ESP8266 core v3.0.0 to use the new breaking features
234+
229235
### Releases v1.9.0
230236

231237
1. Add WiFi `/scan` page.
@@ -344,7 +350,7 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W
344350
## Prerequisites
345351

346352
1. [`Arduino IDE 1.8.13+` for Arduino](https://www.arduino.cc/en/Main/Software)
347-
2. [`ESP8266 Core 2.7.4+`](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/)
353+
2. [`ESP8266 Core 3.0.0+`](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/)
348354
3. [`ESP32 Core 1.0.6+`](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/)
349355
4. [`ESP32-S2/C3 Core 1.0.6+`](https://github.com/espressif/arduino-esp32) for ESP32-S2/C3-based boards. Must follow [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide).
350356
5. [`ESPAsyncWebServer v1.2.3+`](https://github.com/me-no-dev/ESPAsyncWebServer) for all ESP32/ESP8266-based boards.
@@ -2377,7 +2383,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
23772383
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
23782384
#endif
23792385

2380-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.0"
2386+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.1"
23812387

23822388
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
23832389
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -3020,10 +3026,10 @@ bool loadConfigData()
30203026
File file = FileFS.open(CONFIG_FILENAME, "r");
30213027
LOGERROR(F("LoadWiFiCfgFile "));
30223028

3023-
memset(&WM_config, 0, sizeof(WM_config));
3029+
memset((void *) &WM_config, 0, sizeof(WM_config));
30243030

30253031
// New in v1.4.0
3026-
memset(&WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
3032+
memset((void *) &WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
30273033
//////
30283034

30293035
if (file)
@@ -3719,7 +3725,7 @@ void loop()
37193725
---
37203726
---
37213727
3722-
### Debug Termimal Output Samples
3728+
### Debug Terminal Output Samples
37233729
37243730
#### 1. [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium](examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium) on ESP32_DEV
37253731
@@ -3729,7 +3735,7 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium
37293735
37303736
```
37313737
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3732-
ESPAsync_WiFiManager v1.9.0
3738+
ESPAsync_WiFiManager v1.9.1
37333739
ESP_DoubleResetDetector v1.1.1
37343740
Config File not found
37353741
Can't read Config File, using default values
@@ -3748,7 +3754,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
37483754
37493755
```
37503756
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3751-
ESPAsync_WiFiManager v1.9.0
3757+
ESPAsync_WiFiManager v1.9.1
37523758
ESP_DoubleResetDetector v1.1.1
37533759
Config File not found
37543760
Can't read Config File, using default values
@@ -3828,15 +3834,15 @@ TWWWW
38283834
38293835
---
38303836
3831-
#### 2. [Async_ConfigOnDRD_FS_MQTT_Ptr_Complex](examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex) on ESP8266_NODEMCU
3837+
#### 2. [Async_ConfigOnDRD_FS_MQTT_Ptr_Complex](examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex) on ESP8266_NODEMCU_ESP12E
38323838
3833-
This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Complex](examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex) on **ESP8266_NODEMCU 1.0.**. Config Portal was requested to input and save MQTT Credentials. The boards then connected to Adafruit MQTT Server successfully.
3839+
This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Complex](examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex) on **ESP8266_NODEMCU_ESP12E 1.0.**. Config Portal was requested to input and save MQTT Credentials. The boards then connected to Adafruit MQTT Server successfully.
38343840
38353841
##### 2.1 With Config Data => Run normally
38363842
38373843
```
3838-
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU
3839-
ESPAsync_WiFiManager v1.9.0
3844+
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3845+
ESPAsync_WiFiManager v1.9.1
38403846
ESP_DoubleResetDetector Version v1.1.1
38413847
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
38423848
Config File successfully parsed
@@ -3875,8 +3881,8 @@ TWWWW WTWWW
38753881
##### 2.2. DRD => Config Portal
38763882
38773883
```
3878-
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU
3879-
ESPAsync_WiFiManager v1.9.0
3884+
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3885+
ESPAsync_WiFiManager v1.9.1
38803886
ESP_DoubleResetDetector Version v1.1.1
38813887
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
38823888
Config File successfully parsed
@@ -3966,7 +3972,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
39663972
39673973
```cpp
39683974
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using SPIFFS on ESP32_DEV
3969-
ESPAsync_WiFiManager v1.9.0
3975+
ESPAsync_WiFiManager v1.9.1
39703976
ESP_DoubleResetDetector v1.1.1
39713977
[WM] RFC925 Hostname = ConfigOnDoubleReset
39723978
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -4019,13 +4025,13 @@ HHHHHHHHHH HHHHHHHHHH HHHHHHHHHH HHHHHHHHHH
40194025
```
40204026
---
40214027

4022-
#### 4. [Async_ConfigOnDoubleReset](examples/Async_ConfigOnDoubleReset) on ESP8266_NODEMCU
4028+
#### 4. [Async_ConfigOnDoubleReset](examples/Async_ConfigOnDoubleReset) on ESP8266_NODEMCU_ESP12E
40234029

4024-
This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/Async_ConfigOnDoubleReset) on **ESP8266_NODEMCU.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully. WiFi AP **HueNet1** is then lost, and board **autoreconnects** itself to backup WiFi AP **HueNet2**.
4030+
This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/Async_ConfigOnDoubleReset) on **ESP8266_NODEMCU_ESP12E.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully. WiFi AP **HueNet1** is then lost, and board **autoreconnects** itself to backup WiFi AP **HueNet2**.
40254031

40264032
```cpp
4027-
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU
4028-
ESPAsync_WiFiManager v1.9.0
4033+
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU_ESP12E
4034+
ESPAsync_WiFiManager v1.9.1
40294035
ESP_DoubleResetDetector v1.1.1
40304036
[WM] RFC925 Hostname = ConfigOnDoubleReset
40314037
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
@@ -4079,13 +4085,13 @@ HHHHHHHHHH HHHHHHHHHH HHH
40794085
40804086
---
40814087
4082-
#### 5. [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on ESP8266_NODEMCU
4088+
#### 5. [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on ESP8266_NODEMCU_ESP12E
40834089
4084-
This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on **ESP8266_NODEMCU.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully.
4090+
This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on **ESP8266_NODEMCU_ESP12E.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully.
40854091
40864092
```cpp
4087-
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU
4088-
ESPAsync_WiFiManager v1.9.0
4093+
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4094+
ESPAsync_WiFiManager v1.9.1
40894095
ESP_DoubleResetDetector v1.1.1
40904096
Opening / directory
40914097
FS File: CanadaFlag_1.png, size: 40.25KB
@@ -4163,7 +4169,7 @@ This is terminal debug output when running [Async_ESP32_FSWebServer_DRD](example
41634169

41644170
```
41654171
Starting Async_ESP32_FSWebServer_DRD using LittleFS on ESP32_DEV
4166-
ESPAsync_WiFiManager v1.9.0
4172+
ESPAsync_WiFiManager v1.9.1
41674173
ESP_DoubleResetDetector v1.1.1
41684174
FS File: /CanadaFlag_1.png, size: 40.25KB
41694175
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -4274,7 +4280,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
42744280

42754281
```
42764282
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S2_DEV
4277-
ESPAsync_WiFiManager v1.9.0
4283+
ESPAsync_WiFiManager v1.9.1
42784284
ESP_DoubleResetDetector v1.1.1
42794285
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
42804286
[WM] * Add SSID = HueNet1 , PW = 12345678
@@ -4311,7 +4317,7 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
43114317

43124318
```
43134319
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4314-
ESPAsync_WiFiManager v1.9.0
4320+
ESPAsync_WiFiManager v1.9.1
43154321
ESP_DoubleResetDetector v1.1.1
43164322
ESP Self-Stored: SSID = HueNet1, Pass = password
43174323
[WM] * Add SSID = HueNet1 , PW = password
@@ -4355,7 +4361,7 @@ Local Date/Time: Sat May 1 00:17:30 2021
43554361

43564362
```
43574363
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4358-
ESPAsync_WiFiManager v1.9.0
4364+
ESPAsync_WiFiManager v1.9.1
43594365
ESP_DoubleResetDetector v1.1.1
43604366
ESP Self-Stored: SSID = HueNet1, Pass = password
43614367
[WM] * Add SSID = HueNet1 , PW = password
@@ -4394,15 +4400,15 @@ Local Date/Time: Sat May 1 00:15:19 2021
43944400

43954401
---
43964402

4397-
#### 9. [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on ESP8266_NODEMCU
4403+
#### 9. [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on ESP8266_NODEMCU_ESP12E
43984404

4399-
This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on **ESP8266_NODEMCU.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully, with correct local time, TZ set and using NTP
4405+
This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on **ESP8266_NODEMCU_ESP12E.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully, with correct local time, TZ set and using NTP
44004406

44014407
#### 9.1 DRD => Config Portal
44024408

44034409
```
4404-
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU
4405-
ESPAsync_WiFiManager v1.9.0
4410+
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4411+
ESPAsync_WiFiManager v1.9.1
44064412
ESP_DoubleResetDetector v1.1.1
44074413
Opening / directory
44084414
FS File: drd.dat, size: 4B
@@ -4474,8 +4480,8 @@ Local Date/Time: Sat May 1 03:12:54 2021
44744480
#### 9.3 Normal running with correct local time, TZ set and using NTP
44754481

44764482
```
4477-
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU
4478-
ESPAsync_WiFiManager v1.9.0
4483+
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4484+
ESPAsync_WiFiManager v1.9.1
44794485
ESP_DoubleResetDetector v1.1.1
44804486
Opening / directory
44814487
FS File: drd.dat, size: 4B
@@ -4565,6 +4571,11 @@ Submit issues to: [ESPAsync_WiFiManager issues](https://github.com/khoih-prog/ES
45654571

45664572
## Releases
45674573

4574+
### Releases v1.9.1
4575+
4576+
1. Fix warnings and verify compatibility with new ESP8266 core v3.0.0
4577+
2. Autodetect ESP8266 core v1.7.4- or new ESP8266 core v3.0.0 to use the new breaking features
4578+
45684579
### Releases v1.9.0
45694580

45704581
1. Add WiFi `/scan` page.

examples/Async_AutoConnect/Async_AutoConnect.ino

Lines changed: 3 additions & 3 deletions
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.0"
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.1"
2222

2323
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2424
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -499,10 +499,10 @@ bool loadConfigData()
499499
File file = FileFS.open(CONFIG_FILENAME, "r");
500500
LOGERROR(F("LoadWiFiCfgFile "));
501501

502-
memset(&WM_config, 0, sizeof(WM_config));
502+
memset((void *) &WM_config, 0, sizeof(WM_config));
503503

504504
// New in v1.4.0
505-
memset(&WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
505+
memset((void *) &WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
506506
//////
507507

508508
if (file)

examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino

Lines changed: 3 additions & 3 deletions
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.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.1"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -708,10 +708,10 @@ bool loadConfigData()
708708
File file = FileFS.open(CONFIG_FILENAME, "r");
709709
LOGERROR(F("LoadWiFiCfgFile "));
710710

711-
memset(&WM_config, 0, sizeof(WM_config));
711+
memset((void *) &WM_config, 0, sizeof(WM_config));
712712

713713
// New in v1.4.0
714-
memset(&WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
714+
memset((void *) &WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
715715
//////
716716

717717
if (file)

examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino

Lines changed: 3 additions & 3 deletions
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.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.1"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -548,10 +548,10 @@ bool loadConfigData()
548548
File file = FileFS.open(CONFIG_FILENAME, "r");
549549
LOGERROR(F("LoadWiFiCfgFile "));
550550

551-
memset(&WM_config, 0, sizeof(WM_config));
551+
memset((void *) &WM_config, 0, sizeof(WM_config));
552552

553553
// New in v1.4.0
554-
memset(&WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
554+
memset((void *) &WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
555555
//////
556556

557557
if (file)

examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino

Lines changed: 3 additions & 3 deletions
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.0"
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.1"
2222

2323
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2424
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -506,10 +506,10 @@ bool loadConfigData()
506506
File file = FileFS.open(CONFIG_FILENAME, "r");
507507
LOGERROR(F("LoadWiFiCfgFile "));
508508

509-
memset(&WM_config, 0, sizeof(WM_config));
509+
memset((void *) &WM_config, 0, sizeof(WM_config));
510510

511511
// New in v1.4.0
512-
memset(&WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
512+
memset((void *) &WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
513513
//////
514514

515515
if (file)

examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino

Lines changed: 3 additions & 3 deletions
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.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.1"
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -536,10 +536,10 @@ bool loadConfigData()
536536
File file = FileFS.open(CONFIG_FILENAME, "r");
537537
LOGERROR(F("LoadWiFiCfgFile "));
538538

539-
memset(&WM_config, 0, sizeof(WM_config));
539+
memset((void *) &WM_config, 0, sizeof(WM_config));
540540

541541
// New in v1.4.0
542-
memset(&WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
542+
memset((void *) &WM_STA_IPconfig, 0, sizeof(WM_STA_IPconfig));
543543
//////
544544

545545
if (file)

0 commit comments

Comments
 (0)