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

Commit c8309b1

Browse files
authored
v1.10.1 adds dynamic data public methods
### Release v1.10.1 1. Add public methods to load and save dynamic data. Check [added public methods to load and save dynamic data #28](#28)
1 parent ca451c5 commit c8309b1

File tree

9 files changed

+42
-30
lines changed

9 files changed

+42
-30
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Please ensure to specify the following:
2424
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
2525
* Network configuration
2626

27-
2827
Please be educated, civilized and constructive as you've always been. 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.
2928

3029
---
@@ -33,10 +32,9 @@ Please be educated, civilized and constructive as you've always been. Disrespect
3332

3433
```
3534
Arduino IDE version: 1.8.19
36-
ESP32_DEV board
37-
ESP32 core v2.0.6
35+
ESP8266 Core Version 3.1.0
3836
OS: Ubuntu 20.04 LTS
39-
Linux xy-Inspiron-3593 5.15.0-57-generic #63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
37+
Linux xy-Inspiron-3593 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
4038
4139
Context:
4240
I encountered a crash while trying to use the library

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
851851

852852
```
853853
Starting ESP_WiFi using LittleFS on ESP32_DEV
854-
ESP_WiFiManager_Lite v1.10.0
854+
ESP_WiFiManager_Lite v1.10.1
855855
ESP_MultiResetDetector v1.3.2
856856
LittleFS Flag read = 0xFFFC0003
857857
multiResetDetectorFlag = 0xFFFC0003
@@ -922,7 +922,7 @@ CCCCCCCCC
922922

923923
```
924924
Starting ESP_WiFi using LittleFS on ESP32_DEV
925-
ESP_WiFiManager_Lite v1.10.0
925+
ESP_WiFiManager_Lite v1.10.1
926926
ESP_MultiResetDetector v1.3.2
927927
LittleFS Flag read = 0xFFFE0001
928928
multiResetDetectorFlag = 0xFFFE0001
@@ -994,7 +994,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
994994

995995
```
996996
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
997-
ESP_WiFiManager_Lite v1.10.0
997+
ESP_WiFiManager_Lite v1.10.1
998998
ESP_MultiResetDetector v1.3.2
999999
LittleFS Flag read = 0xFFFE0001
10001000
multiResetDetectorFlag = 0xFFFE0001
@@ -1069,7 +1069,7 @@ CCC
10691069
10701070
10711071
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1072-
ESP_WiFiManager_Lite v1.10.0
1072+
ESP_WiFiManager_Lite v1.10.1
10731073
ESP_MultiResetDetector v1.3.2
10741074
LittleFS Flag read = 0xFFFE0001
10751075
multiResetDetectorFlag = 0xFFFE0001
@@ -1161,7 +1161,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
11611161

11621162
```
11631163
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1164-
ESP_WiFiManager_Lite v1.10.0
1164+
ESP_WiFiManager_Lite v1.10.1
11651165
ESP_MultiResetDetector v1.3.2
11661166
LittleFS Flag read = 0xFFFE0001
11671167
multiResetDetectorFlag = 0xFFFE0001
@@ -1274,7 +1274,7 @@ entry 0x4004c190
12741274
12751275
12761276
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1277-
ESP_WiFiManager_Lite v1.10.0
1277+
ESP_WiFiManager_Lite v1.10.1
12781278
ESP_MultiResetDetector v1.3.2
12791279
LittleFS Flag read = 0xFFFE0001
12801280
multiResetDetectorFlag = 0xFFFE0001
@@ -1376,7 +1376,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
13761376

13771377
```
13781378
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1379-
ESP_WiFiManager_Lite v1.10.0
1379+
ESP_WiFiManager_Lite v1.10.1
13801380
ESP_MultiResetDetector v1.3.2
13811381
LittleFS Flag read = 0xFFFC0003
13821382
multiResetDetectorFlag = 0xFFFC0003
@@ -1404,7 +1404,7 @@ NNNN NNNNN NNNNN NNNNN NN[WML] h:UpdLittleFS
14041404

14051405
```
14061406
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1407-
ESP_WiFiManager_Lite v1.10.0
1407+
ESP_WiFiManager_Lite v1.10.1
14081408
ESP_MultiResetDetector v1.3.2
14091409
LittleFS Flag read = 0xFFFE0001
14101410
multiResetDetectorFlag = 0xFFFE0001
@@ -1460,7 +1460,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
14601460

14611461
```
14621462
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
1463-
ESP_WiFiManager_Lite v1.10.0
1463+
ESP_WiFiManager_Lite v1.10.1
14641464
ESP_MultiResetDetector v1.3.2
14651465
LittleFS Flag read = 0xFFFC0003
14661466
multiResetDetectorFlag = 0xFFFC0003
@@ -1504,7 +1504,7 @@ CCC
15041504

15051505
```
15061506
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
1507-
ESP_WiFiManager_Lite v1.10.0
1507+
ESP_WiFiManager_Lite v1.10.1
15081508
ESP_MultiResetDetector v1.3.2
15091509
LittleFS Flag read = 0xFFFE0001
15101510
multiResetDetectorFlag = 0xFFFE0001
@@ -1552,7 +1552,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
15521552

15531553
```
15541554
Starting ESP_WiFi using LittleFS on ESP32S3_DEV
1555-
ESP_WiFiManager_Lite v1.10.0
1555+
ESP_WiFiManager_Lite v1.10.1
15561556
ESP_MultiResetDetector v1.3.2
15571557
LittleFS Flag read = 0xFFFE0001
15581558
multiResetDetectorFlag = 0xFFFE0001
@@ -1594,7 +1594,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
15941594

15951595
```
15961596
Starting ESP_WiFi using LittleFS on ESP32C3_DEV
1597-
ESP_WiFiManager_Lite v1.10.0
1597+
ESP_WiFiManager_Lite v1.10.1
15981598
ESP_MultiResetDetector v1.3.2
15991599
LittleFS Flag read = 0xFFFE0001
16001600
multiResetDetectorFlag = 0xFFFE0001
@@ -1711,7 +1711,7 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
17111711
35. Add ESP32 getChipID() and getChipOUI() functions
17121712
36. Add `Captive-Portal` feature. Check [Captive portal #24](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/24)
17131713
37. Add option to not `USE_LED_BUILTIN` for Config-Portal. Check [added switch to turn use of builtin LED off #20](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/20)
1714-
1714+
38. Add public methods to load and save dynamic data
17151715

17161716
---
17171717
---
@@ -1722,16 +1722,17 @@ Please help contribute to this project and add your name here.
17221722

17231723
1. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
17241724
- `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 `
1725-
2. Thanks to [Holger Müller](https://github.com/hmueller01)for these PRs leading to `v1.10.0` :
1725+
2. Thanks to [Holger Müller](https://github.com/hmueller01)for these PRs leading to `v1.10.0` and `v1.10.1` :
17261726
- [Captive portal #24](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/24)
17271727
- [reset cleanup #21](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/21)
17281728
- [added switch to turn use of builtin LED off #20](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/20)
1729+
- [added public methods to load and save dynamic data #28](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/28)
17291730

17301731

17311732
<table>
17321733
<tr>
17331734
<td align="center"><a href="https://github.com/bizprof"><img src="https://github.com/bizprof.png" width="100px;" alt="bizprof"/><br /><sub><b>⭐️⭐️ Michael H. "bizprof"</b></sub></a><br /></td>
1734-
<td align="center"><a href="https://github.com/hmueller01"><img src="https://github.com/hmueller01.png" width="100px;" alt="hmueller01"/><br /><sub><b>Holger Müller</b></sub></a><br /></td>
1735+
<td align="center"><a href="https://github.com/hmueller01"><img src="https://github.com/hmueller01.png" width="100px;" alt="hmueller01"/><br /><sub><b>⭐️ Holger Müller</b></sub></a><br /></td>
17351736
</tr>
17361737
</table>
17371738

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
## Table of Contents
1616

1717
* [Changelog](#changelog)
18+
* [Release v1.10.1](#release-v1101)
19+
* [Release v1.10.0](#release-v1100)
1820
* [Release v1.9.0](#release-v190)
1921
* [Release v1.8.2](#release-v182)
2022
* [Release v1.8.1](#release-v181)
@@ -34,6 +36,10 @@
3436

3537
## Changelog
3638

39+
### Release v1.10.1
40+
41+
1. Add public methods to load and save dynamic data. Check [added public methods to load and save dynamic data #28](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/28)
42+
3743
### Release v1.10.0
3844

3945
1. Add Captive-Portal feature. Check [Captive portal #24](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/24)

keywords.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ setCustomsHeadElement KEYWORD2
4242
getCustomsHeadElement KEYWORD2
4343
setCORSHeader KEYWORD2
4444
getCORSHeader KEYWORD2
45+
extLoadDynamicData KEYWORD2
46+
extSaveDynamicData KEYWORD2
4547

4648
#######################################
4749

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP_WiFiManager_Lite",
3-
"version": "1.10.0",
3+
"version": "1.10.1",
44
"keywords": "wifi, wi-fi, MultiWiFi, multi-wifi, WiFiManager, esp8266, esp32, esp32-s2, esp32-s3, esp32-c3, Communication, iot, credentials, persistent, config-portal, DoubleReset, MultiReset, DoubleResetDetector, littlefs, spiffs, eeprom, light-weight",
55
"description": "Library 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",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP_WiFiManager_Lite
2-
version=1.10.0
2+
version=1.10.1
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
license=MIT

platformio/platformio.ini

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ build_flags =
5555
; comment the following line to enable WiFi debugging
5656
-D NDEBUG
5757

58+
; ============================================================
5859
; ============================================================
5960
[env:ESP8266]
6061
platform = espressif8266
@@ -101,6 +102,7 @@ board = nodemcuv2
101102
;board = xinabox_cw01
102103
;board = esp32doit-devkit-v1
103104

105+
; ============================================================
104106
; ============================================================
105107
[env:ESP32]
106108
platform = espressif32
@@ -144,6 +146,7 @@ board = esp32doit-devkit-v1
144146
;board = iotbusproteus
145147
;board = nina_w10
146148

149+
; ============================================================
147150
; ============================================================
148151
[env:esp32s2]
149152
platform = espressif32
@@ -173,7 +176,7 @@ build_flags =
173176
-DARDUINO_ESP32S2_DEV
174177
-DARDUINO_VARIANT="esp32s2"
175178

176-
179+
; ============================================================
177180
; ============================================================
178181
[env:esp32s3]
179182
platform = espressif32
@@ -193,9 +196,9 @@ build_flags =
193196
-DARDUINO_ESP32S3_DEV
194197
-DARDUINO_VARIANT="esp32s3"
195198

196-
197199
; ============================================================
198-
[env:esp32c3]
200+
; ============================================================
201+
[env:esp32sc3]
199202
platform = espressif32
200203
framework = arduino
201204

@@ -213,5 +216,5 @@ build_flags =
213216
-DARDUINO_ESP32S3_DEV
214217
-DARDUINO_VARIANT="esp32c3"
215218

216-
219+
; ============================================================
217220
; ============================================================

src/ESP_WiFiManager_Lite.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
1111
12-
Version: 1.10.0
12+
Version: 1.10.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.8.2 K Hoang 21/02/2022 Optional Board_Name in Menu. Optimize code by using passing by reference
2020
1.9.0 K Hoang 09/09/2022 Fix ESP32 chipID and add ESP_getChipOUI()
2121
1.10.0 K Hoang 10/01/2023 Add Captive-Portal feature
22+
1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data
2223
*****************************************************************************************************************************/
2324

2425
#pragma once
@@ -49,13 +50,13 @@
4950
#endif
5051

5152
#ifndef ESP_WIFI_MANAGER_LITE_VERSION
52-
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.10.0"
53+
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.10.1"
5354

5455
#define ESP_WIFI_MANAGER_LITE_VERSION_MAJOR 1
5556
#define ESP_WIFI_MANAGER_LITE_VERSION_MINOR 10
56-
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 0
57+
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 1
5758

58-
#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1010000
59+
#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1010001
5960
#endif
6061

6162
#ifdef ESP8266

src/ESP_WiFiManager_Lite_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
1111
12-
Version: 1.10.0
12+
Version: 1.10.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.8.2 K Hoang 21/02/2022 Optional Board_Name in Menu. Optimize code by using passing by reference
2020
1.9.0 K Hoang 09/09/2022 Fix ESP32 chipID and add ESP_getChipOUI()
2121
1.10.0 K Hoang 10/01/2023 Add Captive-Portal feature
22+
1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data
2223
*****************************************************************************************************************************/
2324

2425
#ifndef ESP_WiFiManager_Lite_Debug_h

0 commit comments

Comments
 (0)