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

Commit

Permalink
v1.10.1 adds dynamic data public methods
Browse files Browse the repository at this point in the history
### 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)
  • Loading branch information
khoih-prog authored Jan 13, 2023
1 parent ca451c5 commit c8309b1
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 30 deletions.
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Please ensure to specify the following:
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
* Network configuration


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.

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

```
Arduino IDE version: 1.8.19
ESP32_DEV board
ESP32 core v2.0.6
ESP8266 Core Version 3.1.0
OS: Ubuntu 20.04 LTS
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
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
Context:
I encountered a crash while trying to use the library
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp

```
Starting ESP_WiFi using LittleFS on ESP32_DEV
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFC0003
multiResetDetectorFlag = 0xFFFC0003
Expand Down Expand Up @@ -922,7 +922,7 @@ CCCCCCCCC

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

```
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1069,7 +1069,7 @@ CCC
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1161,7 +1161,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M

```
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1274,7 +1274,7 @@ entry 0x4004c190
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1376,7 +1376,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M

```
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFC0003
multiResetDetectorFlag = 0xFFFC0003
Expand Down Expand Up @@ -1404,7 +1404,7 @@ NNNN NNNNN NNNNN NNNNN NN[WML] h:UpdLittleFS

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

```
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFC0003
multiResetDetectorFlag = 0xFFFC0003
Expand Down Expand Up @@ -1504,7 +1504,7 @@ CCC

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

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

```
Starting ESP_WiFi using LittleFS on ESP32C3_DEV
ESP_WiFiManager_Lite v1.10.0
ESP_WiFiManager_Lite v1.10.1
ESP_MultiResetDetector v1.3.2
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1711,7 +1711,7 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
35. Add ESP32 getChipID() and getChipOUI() functions
36. Add `Captive-Portal` feature. Check [Captive portal #24](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/24)
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)

38. Add public methods to load and save dynamic data

---
---
Expand All @@ -1722,16 +1722,17 @@ Please help contribute to this project and add your name here.

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


<table>
<tr>
<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>
<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>
<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>
</tr>
</table>

Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
## Table of Contents

* [Changelog](#changelog)
* [Release v1.10.1](#release-v1101)
* [Release v1.10.0](#release-v1100)
* [Release v1.9.0](#release-v190)
* [Release v1.8.2](#release-v182)
* [Release v1.8.1](#release-v181)
Expand All @@ -34,6 +36,10 @@

## Changelog

### 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](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/28)

### Release v1.10.0

1. Add Captive-Portal feature. Check [Captive portal #24](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/24)
Expand Down
2 changes: 2 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ setCustomsHeadElement KEYWORD2
getCustomsHeadElement KEYWORD2
setCORSHeader KEYWORD2
getCORSHeader KEYWORD2
extLoadDynamicData KEYWORD2
extSaveDynamicData KEYWORD2

#######################################

Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ESP_WiFiManager_Lite",
"version": "1.10.0",
"version": "1.10.1",
"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",
"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",
"authors":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ESP_WiFiManager_Lite
version=1.10.0
version=1.10.1
author=Khoi Hoang
maintainer=Khoi Hoang <[email protected]>
license=MIT
Expand Down
11 changes: 7 additions & 4 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ build_flags =
; comment the following line to enable WiFi debugging
-D NDEBUG

; ============================================================
; ============================================================
[env:ESP8266]
platform = espressif8266
Expand Down Expand Up @@ -101,6 +102,7 @@ board = nodemcuv2
;board = xinabox_cw01
;board = esp32doit-devkit-v1

; ============================================================
; ============================================================
[env:ESP32]
platform = espressif32
Expand Down Expand Up @@ -144,6 +146,7 @@ board = esp32doit-devkit-v1
;board = iotbusproteus
;board = nina_w10

; ============================================================
; ============================================================
[env:esp32s2]
platform = espressif32
Expand Down Expand Up @@ -173,7 +176,7 @@ build_flags =
-DARDUINO_ESP32S2_DEV
-DARDUINO_VARIANT="esp32s2"


; ============================================================
; ============================================================
[env:esp32s3]
platform = espressif32
Expand All @@ -193,9 +196,9 @@ build_flags =
-DARDUINO_ESP32S3_DEV
-DARDUINO_VARIANT="esp32s3"


; ============================================================
[env:esp32c3]
; ============================================================
[env:esp32sc3]
platform = espressif32
framework = arduino

Expand All @@ -213,5 +216,5 @@ build_flags =
-DARDUINO_ESP32S3_DEV
-DARDUINO_VARIANT="esp32c3"


; ============================================================
; ============================================================
9 changes: 5 additions & 4 deletions src/ESP_WiFiManager_Lite.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
Licensed under MIT license
Version: 1.10.0
Version: 1.10.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -19,6 +19,7 @@
1.8.2 K Hoang 21/02/2022 Optional Board_Name in Menu. Optimize code by using passing by reference
1.9.0 K Hoang 09/09/2022 Fix ESP32 chipID and add ESP_getChipOUI()
1.10.0 K Hoang 10/01/2023 Add Captive-Portal feature
1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data
*****************************************************************************************************************************/

#pragma once
Expand Down Expand Up @@ -49,13 +50,13 @@
#endif

#ifndef ESP_WIFI_MANAGER_LITE_VERSION
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.10.0"
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.10.1"

#define ESP_WIFI_MANAGER_LITE_VERSION_MAJOR 1
#define ESP_WIFI_MANAGER_LITE_VERSION_MINOR 10
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 0
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 1

#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1010000
#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1010001
#endif

#ifdef ESP8266
Expand Down
3 changes: 2 additions & 1 deletion src/ESP_WiFiManager_Lite_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
Licensed under MIT license
Version: 1.10.0
Version: 1.10.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -19,6 +19,7 @@
1.8.2 K Hoang 21/02/2022 Optional Board_Name in Menu. Optimize code by using passing by reference
1.9.0 K Hoang 09/09/2022 Fix ESP32 chipID and add ESP_getChipOUI()
1.10.0 K Hoang 10/01/2023 Add Captive-Portal feature
1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data
*****************************************************************************************************************************/

#ifndef ESP_WiFiManager_Lite_Debug_h
Expand Down

0 comments on commit c8309b1

Please sign in to comment.