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.
<ahref="https://www.buymeacoffee.com/khoihprog6"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Buy Me A Coffee"style="height: 60px!important;width: 217px!important;" ></a>
9
+
<ahref="https://www.buymeacoffee.com/khoihprog6"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Buy Me A Coffee"style="height: 50px!important;width: 181px!important;" ></a>
*[1. ESP32_FSWebServer_DRD on ESP32_DEV](#1-esp32_fswebserver_drd-on-esp32_dev)
61
61
*[2. ConfigOnDoubleReset on ESP32_DEV](#2-configondoublereset-on-esp32_dev)
62
+
*[3. ESPAsync_WiFi using LittleFS on ESP32S3_DEV](#3-ESPAsync_WiFi-using-LittleFS-on-ESP32S3_DEV)
62
63
*[Libraries using ESP_DoubleResetDetector or DoubleResetDetector_Generic library](#libraries-using-esp_doubleresetdetector-or-doubleresetdetector_generic-library)
63
64
*[Debug](#debug)
64
65
*[Troubleshooting](#troubleshooting)
@@ -92,7 +93,7 @@ This library can be used to detect a double reset within a predetermined time to
92
93
93
94
This [**ESP_DoubleResetDetector** library](https://github.com/khoih-prog/ESP_DoubleResetDetector) currently supports these following boards:
94
95
95
-
1.**ESP32boards using EEPROM, SPIFFS or LittleFS**.
96
+
1.**ESP32, ESP32_C3, ESP32_S2 and ESP32_S3 boards, using EEPROM, SPIFFS or LittleFS**.
96
97
2.**ESP8266 boards RTC memory, EEPROM, SPIFFS or LittleFS**
97
98
98
99
---
@@ -106,6 +107,7 @@ This [**ESP_DoubleResetDetector** library](https://github.com/khoih-prog/ESP_Dou
106
107
107
108
4.[`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+
108
109
110
+
---
109
111
---
110
112
111
113
## Installation
@@ -124,7 +126,7 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `ESP_Do
3. Install [**ESP_DoubleResetDetector** library](https://platformio.org/lib/show/11521/ESP_DoubleResetDetector) by using [Library Manager](https://platformio.org/lib/show/11521/ESP_DoubleResetDetector/installation). Search for **ESP_DoubleResetDetector** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
129
+
3. Install [**ESP_DoubleResetDetector** library](https://registry.platformio.org/libraries/khoih-prog/ESP_DoubleResetDetector) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/ESP_DoubleResetDetector/installation). Search for **ESP_DoubleResetDetector** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
128
130
4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html)
129
131
130
132
---
@@ -274,8 +276,8 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](https://githu
274
276
275
277
```cpp
276
278
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32_DEV
277
-
ESP_WiFiManager Version v1.7.7
278
-
ESP_DoubleResetDetector Version v1.2.1
279
+
ESP_WiFiManager Version v1.9.0
280
+
ESP_DoubleResetDetector Version v1.3.0
279
281
FS File: /ConfigSW.json, size: 150B
280
282
FS File: /CanadaFlag_1.png, size: 40.25KB
281
283
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -340,8 +342,8 @@ This is terminal debug output when running [ConfigOnDoubleReset](https://github.
340
342
341
343
```
342
344
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
343
-
ESP_WiFiManager Version v1.7.7
344
-
ESP_DoubleResetDetector Version v1.2.1
345
+
ESP_WiFiManager Version v1.9.0
346
+
ESP_DoubleResetDetector Version v1.3.0
345
347
[WM] RFC925 Hostname = ConfigOnDoubleReset
346
348
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
347
349
Stored: SSID = HueNet1, Pass = 12345678
@@ -384,8 +386,8 @@ load:0x40080400,len:6352
384
386
entry 0x400806b8
385
387
386
388
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
387
-
ESP_WiFiManager Version v1.7.7
388
-
ESP_DoubleResetDetector Version v1.2.1
389
+
ESP_WiFiManager Version v1.9.0
390
+
ESP_DoubleResetDetector Version v1.3.0
389
391
[WM] RFC925 Hostname = ConfigOnDoubleReset
390
392
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
#### 3. ESPAsync_WiFi using LittleFS on ESP32S3_DEV
416
+
417
+
This is terminal debug output when running [ESPAsync_WiFi](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/tree/master/examples/ESPAsync_WiFi) on ***ESP32 ESP32S3_DEV.***. Config Portal was requested by DRD to input and save Credentials.
418
+
419
+
420
+
```
421
+
Starting ESPAsync_WiFi using LittleFS on ESP32S3_DEV
422
+
ESPAsync_WiFiManager_Lite v1.7.0
423
+
ESP_DoubleResetDetector v1.3.0
424
+
LittleFS Flag read = 0xD0D01234
425
+
doubleResetDetected
426
+
Saving config file...
427
+
Saving config file OK
428
+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=12345678
429
+
[WML] SSID1=HueNet2,PW1=12345678
430
+
[WML] BName=ESP32_S3
431
+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=12345678
432
+
[WML] SSID1=HueNet2,PW1=12345678
433
+
[WML] BName=ESP32_S3
434
+
[WML] WiFi networks found:
435
+
[WML] 1: HueNet, -20dB
436
+
[WML] 2: HueNetTek, -32dB
437
+
[WML] 3: HueNet1, -39dB
438
+
[WML] 4: HueNet2, -54dB
439
+
[WML] 5: DECO-5655, -72dB
440
+
[WML] 6: Guest5655, -72dB
441
+
[WML] 7: rogers786, -76dB
442
+
[WML] 8: AT_301_WLREL6325F_f66d, -76dB
443
+
[WML] 10: Rogers 786, -78dB
444
+
[WML] 11: BELL042, -80dB
445
+
[WML] 12: WirelessMississauga, -82dB
446
+
[WML] 13: SmartRG-02a2, -87dB
447
+
[WML] 14: Jasmine, -87dB
448
+
[WML] 15: Access, -89dB
449
+
[WML] 16: Jessie, -90dB
450
+
[WML]
451
+
stConf:SSID=ESP_E1A1DF7C,PW=MyESP_E1A1DF7C
452
+
[WML] IP=192.168.4.1,ch=10
453
+
F
454
+
Your stored Credentials :
455
+
Blynk Server1 = account.duckdns.org
456
+
Token1 = token1
457
+
Blynk Server2 = account.ddns.net
458
+
Token2 = token2
459
+
Port = 8080
460
+
MQTT Server = mqtt.duckdns.org
461
+
```
462
+
463
+
---
464
+
413
465
### Libraries using ESP_DoubleResetDetector or DoubleResetDetector_Generic library
414
466
415
467
You can also see how [`ESP_DoubleResetDetector`](https://github.com/khoih-prog/ESP_DoubleResetDetector) and [`DoubleResetDetector_Generic`](https://github.com/khoih-prog/DoubleResetDetector_Generic) are applied in many other libraries, such as:
@@ -474,6 +526,8 @@ Submit issues to: [ESP_DoubleResetDetector issues](https://github.com/khoih-prog
474
526
475
527
1. For ESP32 and ESP8266 (EEPROM, SPIFFS and LittleFS).
476
528
2. Similar features for Arduino (UNO, Mega, SAM DUE, SAMD21/SAMD51, nRF52, STM32, Teensy, etc.). Look at [**DoubleResetDetector_Generic**](https://github.com/khoih-prog/DoubleResetDetector_Generic)
529
+
3. Add support to `ESP32_C3`, `ESP32_S2`
530
+
4. Add support to `ESP32_S3` using ESP32 core v2.0.2+
"description": "Library to detect a double reset within a predetermined time, using RTC Memory, EEPROM, LittleFS or SPIFFS for ESP8266 and ESP32. An alternative start-up mode can be used. One example use is to allow re-configuration of device WiFi credentials. Now supporting ESP32_C3, ESP32_S2 ans ESP32_S3",
sentence=Library to detect a double reset within a predetermined time, using RTC Memory, EEPROM, LittleFS or SPIFFS for ESP8266 and ESP32
7
-
paragraph=An alternative start-up mode can be used. One example use is to allow re-configuration of device WiFi credentials.
8
-
category=Device,Control
7
+
paragraph=An alternative start-up mode can be used. One example use is to allow re-configuration of device WiFi credentials. Now supporting ESP32_C3, ESP32_S2 ans ESP32_S3
0 commit comments