You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,21 +15,22 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
15
15
Please ensure to specify the following:
16
16
17
17
* 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.5)
18
+
*`ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.6)
19
19
* Contextual information (e.g. what you were trying to achieve)
20
20
* Simplest possible steps to reproduce
21
21
* Anything that might be relevant in your opinion, such as:
22
22
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
23
23
* Network configuration
24
24
25
+
Please be educated, civilized and constructive. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
25
26
26
27
### Example
27
28
28
29
```
29
30
Arduino IDE version: 1.8.19
30
31
ESP8266 Core Version 3.0.2
31
32
OS: Ubuntu 20.04 LTS
32
-
Linux xy-Inspiron-3593 5.15.0-53-generic #59~20.04.1-Ubuntu SMP Thu Oct 20 15:10:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
33
+
Linux xy-Inspiron-3593 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Copy file name to clipboardExpand all lines: README.md
+48-40Lines changed: 48 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,13 +206,14 @@ This [**ESPAsync_WiFiManager_Lite** library](https://github.com/khoih-prog/ESPAs
206
206
207
207
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
208
208
2.[`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [](https://github.com/esp8266/Arduino/releases/latest/). To use ESP8266 core 2.7.1+ for LittleFS.
209
-
3.[`ESP32 Core 2.0.5+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
210
-
4.[`ESPAsyncWebServer v1.2.3+`](https://github.com/me-no-dev/ESPAsyncWebServer) for all ESP32/ESP8266-based boards. **To install manually, not via Arduino IDE Library Manager**
211
-
5.[`ESPAsyncTCP v1.2.2+`](https://github.com/me-no-dev/ESPAsyncTCP) for ESP8266-based boards. **To install manually, not via Arduino IDE Library Manager**
212
-
6.[`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP) for ESP32-based boards. **To install manually, not via Arduino IDE Library Manager**
213
-
7.[`ESP_DoubleResetDetector v1.3.2+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [](https://www.ardu-badge.com/ESP_DoubleResetDetector).
214
-
8.[`ESP_MultiResetDetector v1.3.2+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [](https://www.ardu-badge.com/ESP_MultiResetDetector).
215
-
9.[`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core **v1.0.5-**. To install, check [](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and **you don't need to install it if using ESP32 core v1.0.6+**
209
+
3.[`ESP32 Core 2.0.6+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
210
+
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. **To install manually for Arduino IDE**
211
+
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.
212
+
6.[`ESPAsyncTCP v1.2.2+`](https://github.com/me-no-dev/ESPAsyncTCP) for ESP8266-based boards. **To install manually, not via Arduino IDE Library Manager**
213
+
7.[`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP) for ESP32-based boards. **To install manually, not via Arduino IDE Library Manager**
214
+
8.[`ESP_DoubleResetDetector v1.3.2+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [](https://www.ardu-badge.com/ESP_DoubleResetDetector).
215
+
9.[`ESP_MultiResetDetector v1.3.2+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [](https://www.ardu-badge.com/ESP_MultiResetDetector).
216
+
10.[`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core **v1.0.5-**. To install, check [](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and **you don't need to install it if using ESP32 core v1.0.6+**
216
217
217
218
---
218
219
@@ -278,33 +279,33 @@ Please have a look at [**ESP_WiFiManager Issue 39: Not able to read analog port
278
279
279
280
#### 2. ESP32 ADCs functions
280
281
281
-
- ADC1 controls ADC function for pins **GPIO32-GPIO39**
282
-
- ADC2 controls ADC function for pins **GPIO0, 2, 4, 12-15, 25-27**
282
+
- `ADC1` controls ADC function for pins **GPIO32-GPIO39**
283
+
- `ADC2` controls ADC function for pins **GPIO0, 2, 4, 12-15, 25-27**
283
284
284
285
#### 3.. ESP32 WiFi uses ADC2 for WiFi functions
285
286
286
287
Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/master/components/driver/adc_common.c#L61)
287
288
288
-
> In ADC2, there're two locks used for different cases:
289
+
> In `ADC2`, there're two locks used for different cases:
289
290
> 1. lock shared with app and Wi-Fi:
290
291
> ESP32:
291
-
> When Wi-Fi using the ADC2, we assume it will never stop, so app checks the lock and returns immediately if failed.
292
+
> When Wi-Fi using the `ADC2`, we assume it will never stop, so app checks the lock and returns immediately if failed.
292
293
> ESP32S2:
293
294
> The controller's control over the ADC is determined by the arbiter. There is no need to control by lock.
294
295
>
295
296
> 2. lock shared between tasks:
296
-
> when several tasks sharing the ADC2, we want to guarantee
297
+
> when several tasks sharing the `ADC2`, we want to guarantee
297
298
> all the requests will be handled.
298
299
> Since conversions are short (about 31us), app returns the lock very soon,
299
300
> we use a spinlock to stand there waiting to do conversions one by one.
300
301
>
301
302
> adc2_spinlock should be acquired first, then adc2_wifi_lock or rtc_spinlock.
302
303
303
304
304
-
- In order to use ADC2 for other functions, we have to **acquire complicated firmware locks and very difficult to do**
305
-
- So, it's not advisable to use ADC2 with WiFi/BlueTooth (BT/BLE).
306
-
- Use ADC1, and pins GPIO32-GPIO39
307
-
- If somehow it's a must to use those pins serviced by ADC2 (**GPIO0, 2, 4, 12, 13, 14, 15, 25, 26 and 27**), use the **fix mentioned at the end** of [**ESP_WiFiManager Issue 39: Not able to read analog port when using the autoconnect example**](https://github.com/khoih-prog/ESP_WiFiManager/issues/39) to work with ESP32 WiFi/BlueTooth (BT/BLE).
305
+
- In order to use `ADC2` for other functions, we have to **acquire complicated firmware locks and very difficult to do**
306
+
- So, it's not advisable to use `ADC2` with WiFi/BlueTooth (BT/BLE).
307
+
- Use `ADC1`, and pins **GPIO32-GPIO39**
308
+
- If somehow it's a must to use those pins serviced by `ADC2` (**GPIO0, 2, 4, 12, 13, 14, 15, 25, 26 and 27**), use the **fix mentioned at the end** of [**ESP_WiFiManager Issue 39: Not able to read analog port when using the autoconnect example**](https://github.com/khoih-prog/ESP_WiFiManager/issues/39) to work with ESP32 WiFi/BlueTooth (BT/BLE)
308
309
309
310
310
311
---
@@ -836,8 +837,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
836
837
837
838
```cpp
838
839
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
839
-
ESPAsync_WiFiManager_Lite v1.9.0
840
-
ESP_MultiResetDetector v1.3.1
840
+
ESPAsync_WiFiManager_Lite v1.9.1
841
+
ESP_MultiResetDetector v1.3.2
841
842
LittleFS Flag read = 0xFFFE0001
842
843
multiResetDetectorFlag = 0xFFFE0001
843
844
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -911,8 +912,8 @@ CCC
911
912
912
913
913
914
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
914
-
ESPAsync_WiFiManager_Lite v1.9.0
915
-
ESP_MultiResetDetector v1.3.1
915
+
ESPAsync_WiFiManager_Lite v1.9.1
916
+
ESP_MultiResetDetector v1.3.2
916
917
LittleFS Flag read = 0xFFFE0001
917
918
multiResetDetectorFlag = 0xFFFE0001
918
919
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1003,8 +1004,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
1003
1004
1004
1005
```cpp
1005
1006
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1006
-
ESPAsync_WiFiManager_Lite v1.9.0
1007
-
ESP_MultiResetDetector v1.3.1
1007
+
ESPAsync_WiFiManager_Lite v1.9.1
1008
+
ESP_MultiResetDetector v1.3.2
1008
1009
LittleFS Flag read = 0xFFFE0001
1009
1010
multiResetDetectorFlag = 0xFFFE0001
1010
1011
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1078,8 +1079,8 @@ CCC
1078
1079
1079
1080
1080
1081
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1081
-
ESPAsync_WiFiManager_Lite v1.9.0
1082
-
ESP_MultiResetDetector v1.3.1
1082
+
ESPAsync_WiFiManager_Lite v1.9.1
1083
+
ESP_MultiResetDetector v1.3.2
1083
1084
LittleFS Flag read = 0xFFFE0001
1084
1085
multiResetDetectorFlag = 0xFFFE0001
1085
1086
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1169,8 +1170,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
1169
1170
1170
1171
```cpp
1171
1172
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1172
-
ESPAsync_WiFiManager_Lite v1.9.0
1173
-
ESP_MultiResetDetector v1.3.1
1173
+
ESPAsync_WiFiManager_Lite v1.9.1
1174
+
ESP_MultiResetDetector v1.3.2
1174
1175
LittleFS Flag read = 0xFFFE0001
1175
1176
multiResetDetectorFlag = 0xFFFE0001
1176
1177
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1282,8 +1283,8 @@ entry 0x4004c190
1282
1283
1283
1284
1284
1285
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1285
-
ESPAsync_WiFiManager_Lite v1.9.0
1286
-
ESP_MultiResetDetector v1.3.1
1286
+
ESPAsync_WiFiManager_Lite v1.9.1
1287
+
ESP_MultiResetDetector v1.3.2
1287
1288
LittleFS Flag read = 0xFFFE0001
1288
1289
multiResetDetectorFlag = 0xFFFE0001
1289
1290
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1385,8 +1386,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
1385
1386
1386
1387
```cpp
1387
1388
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1388
-
ESPAsync_WiFiManager_Lite v1.9.0
1389
-
ESP_MultiResetDetector v1.3.1
1389
+
ESPAsync_WiFiManager_Lite v1.9.1
1390
+
ESP_MultiResetDetector v1.3.2
1390
1391
LittleFS Flag read = 0xFFFC0003
1391
1392
multiResetDetectorFlag = 0xFFFC0003
1392
1393
lowerBytes = 0x0003, upperBytes = 0x0003
@@ -1428,8 +1429,8 @@ entry 0x4004c190
1428
1429
1429
1430
```cpp
1430
1431
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1431
-
ESPAsync_WiFiManager_Lite v1.9.0
1432
-
ESP_MultiResetDetector v1.3.1
1432
+
ESPAsync_WiFiManager_Lite v1.9.1
1433
+
ESP_MultiResetDetector v1.3.2
1433
1434
LittleFS Flag read = 0xFFFE0001
1434
1435
multiResetDetectorFlag = 0xFFFE0001
1435
1436
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1484,8 +1485,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
1484
1485
1485
1486
```cpp
1486
1487
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
1487
-
ESPAsync_WiFiManager_Lite v1.9.0
1488
-
ESP_MultiResetDetector v1.3.1
1488
+
ESPAsync_WiFiManager_Lite v1.9.1
1489
+
ESP_MultiResetDetector v1.3.2
1489
1490
LittleFS Flag read = 0xFFFC0003
1490
1491
multiResetDetectorFlag = 0xFFFC0003
1491
1492
lowerBytes = 0x0003, upperBytes = 0x0003
@@ -1529,8 +1530,8 @@ CCCC CCCCC CCCCC C
1529
1530
1530
1531
```cpp
1531
1532
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
1532
-
ESPAsync_WiFiManager_Lite v1.9.0
1533
-
ESP_MultiResetDetector v1.3.1
1533
+
ESPAsync_WiFiManager_Lite v1.9.1
1534
+
ESP_MultiResetDetector v1.3.2
1534
1535
LittleFS Flag read = 0xFFFE0001
1535
1536
multiResetDetectorFlag = 0xFFFE0001
1536
1537
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1576,8 +1577,8 @@ This is the terminal output when running [**ESPAsync_WiFi**](examples/ESPAsync_W
1576
1577
1577
1578
```cpp
1578
1579
Starting ESPAsync_WiFi using LittleFS on ESP32S3_DEV
1579
-
ESPAsync_WiFiManager_Lite v1.9.0
1580
-
ESP_MultiResetDetector v1.3.1
1580
+
ESPAsync_WiFiManager_Lite v1.9.1
1581
+
ESP_MultiResetDetector v1.3.2
1581
1582
LittleFS Flag read = 0xFFFE0001
1582
1583
multiResetDetectorFlag = 0xFFFE0001
1583
1584
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1618,8 +1619,8 @@ This is the terminal output when running [**ESPAsync_WiFi**](examples/ESPAsync_W
1618
1619
1619
1620
```cpp
1620
1621
Starting ESPAsync_WiFi using LittleFS on ESP32C3_DEV
1621
-
ESPAsync_WiFiManager_Lite v1.9.0
1622
-
ESP_MultiResetDetector v1.3.1
1622
+
ESPAsync_WiFiManager_Lite v1.9.1
1623
+
ESP_MultiResetDetector v1.3.2
1623
1624
LittleFS Flag read = 0xFFFE0001
1624
1625
multiResetDetectorFlag = 0xFFFE0001
1625
1626
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1737,6 +1738,8 @@ Submit issues to: [ESPAsync_WiFiManager_Lite issues](https://github.com/khoih-pr
1737
1738
33. Remove unavailable items from depends field of `library.properties`, such as `ESP Async WebServer`,`ESP AsyncTCP` and `AsyncTCP`
1738
1739
34. Fix ESP32 `chipID`
1739
1740
35. Add ESP32 `getChipID()` and `getChipOUI()` functions
1741
+
36. Add `Captive Portal` using AsyncDNSServer
1742
+
1740
1743
1741
1744
---
1742
1745
---
@@ -1747,10 +1750,15 @@ Please help contribute to this project and add your name here.
1747
1750
1748
1751
1. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
1749
1752
-`Enable scan of WiFi networks for selection in Configuration Portal`. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10) leading to v1.5.0
1753
+
2. Thanks to [Holger Müller](https://github.com/hmueller01) for creating the following merged PRs leading to v1.9.1
"description": "Library using AsyncWebServer to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3) and ESP8266 boards. You can also specify DHCP HostName, static AP and STA IP. Use much less memory compared to full-fledge WiFiManager. Config Portal will be auto-adjusted to match the number of dynamic custom parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Credentials are saved in LittleFS, SPIFFS or EEPROM. New powerful-yet-simple-to-use feature to enable adding dynamic custom parameters from sketch and input using the same Config Portal. Double or MultiDetectDetector as well as Virtual Switches feature permits entering Config Portal as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header. Now using correct ESP32 chipIP",
0 commit comments