From e925a1d1a6e448e94f126b17896cf4178ff8c7b4 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Sun, 15 Jan 2023 13:28:07 -0500 Subject: [PATCH] v1.10.2 for Config Portal `mobile scaling` ### Release v1.10.2 1. Add Config Portal scaling support to mobile devices. Check [Mobile scale #26](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/26) --- CONTRIBUTING.md | 4 ++-- README.md | 31 +++++++++++++++------------ changelog.md | 7 +++++- library.json | 2 +- library.properties | 2 +- src/ESPAsync_WiFiManager_Lite.h | 9 ++++---- src/ESPAsync_WiFiManager_Lite_Debug.h | 3 ++- 7 files changed, 34 insertions(+), 24 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1ff5daf..82063da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p Please ensure to specify the following: * Arduino IDE version (e.g. 1.8.19) or Platform.io version -* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.1.0 or ESP32 v2.0.6) +* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.1.1 or ESP32 v2.0.6) * Contextual information (e.g. what you were trying to achieve) * Simplest possible steps to reproduce * Anything that might be relevant in your opinion, such as: @@ -32,7 +32,7 @@ Please be educated, civilized and constructive as you've always been. Disrespect ``` Arduino IDE version: 1.8.19 -ESP8266 Core Version 3.1.0 +ESP8266 Core Version 3.1.1 OS: Ubuntu 20.04 LTS 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 diff --git a/README.md b/README.md index f796cdc..f53f101 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ This [**ESPAsync_WiFiManager_Lite** library](https://github.com/khoih-prog/ESPAs ## Prerequisites 1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest) - 2. [`ESP8266 Core 3.1.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/). To use ESP8266 core 2.7.1+ for LittleFS. + 2. [`ESP8266 Core 3.1.1+`](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/). To use ESP8266 core 2.7.1+ for LittleFS. 3. [`ESP32 Core 2.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/) 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** 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. @@ -837,7 +837,7 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -912,7 +912,7 @@ CCC Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1004,7 +1004,7 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP8266_NODEMCU -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1079,7 +1079,7 @@ CCC Starting ESPAsync_WiFi_MQTT using LittleFS on ESP8266_NODEMCU -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1170,7 +1170,7 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1283,7 +1283,7 @@ entry 0x4004c190 Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1386,7 +1386,7 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFC0003 multiResetDetectorFlag = 0xFFFC0003 @@ -1429,7 +1429,7 @@ entry 0x4004c190 ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1485,7 +1485,7 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFC0003 multiResetDetectorFlag = 0xFFFC0003 @@ -1530,7 +1530,7 @@ CCCC CCCCC CCCCC C ```cpp Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1577,7 +1577,7 @@ This is the terminal output when running [**ESPAsync_WiFi**](examples/ESPAsync_W ```cpp Starting ESPAsync_WiFi using LittleFS on ESP32S3_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1619,7 +1619,7 @@ This is the terminal output when running [**ESPAsync_WiFi**](examples/ESPAsync_W ```cpp Starting ESPAsync_WiFi using LittleFS on ESP32C3_DEV -ESPAsync_WiFiManager_Lite v1.10.1 +ESPAsync_WiFiManager_Lite v1.10.2 ESP_MultiResetDetector v1.3.2 LittleFS Flag read = 0xFFFE0001 multiResetDetectorFlag = 0xFFFE0001 @@ -1740,6 +1740,8 @@ Submit issues to: [ESPAsync_WiFiManager_Lite issues](https://github.com/khoih-pr 35. Add ESP32 `getChipID()` and `getChipOUI()` functions 36. Add `Captive Portal` using AsyncDNSServer 37. Add public methods to load and save dynamic data +38. Add Config Portal `scaling` support to mobile devices + --- --- @@ -1750,10 +1752,11 @@ 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 creating the following merged PRs leading to `v1.9.1` then `v1.10.1` +2. Thanks to [Holger Müller](https://github.com/hmueller01) for creating the following merged PRs leading to `v1.9.1`, `v1.10.1`, then `v1.10.2` - [Captive portal #22](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/22) - [cleanup reset code #23](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/23) - [added public methods to load and save dynamic data #24](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/24) + - [Mobile scale #26](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/26) diff --git a/changelog.md b/changelog.md index de6feea..548ad7e 100644 --- a/changelog.md +++ b/changelog.md @@ -16,6 +16,7 @@ ## Table of Contents * [Changelog](#changelog) + * [Release v1.10.2](#release-v1102) * [Release v1.10.1](#release-v1101) * [Release v1.9.1](#release-v191) * [Release v1.9.0](#release-v190) @@ -38,12 +39,16 @@ ## Changelog +### Release v1.10.2 + +1. Add Config Portal scaling support to mobile devices. Check [Mobile scale #26](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/26) + + ### Release v1.10.1 1. Add public methods to load and save dynamic data. Check [added public methods to load and save dynamic data #24](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/24) 2. Bump up to `v1.10.1` to sync with [ESP_WiFiManager_Lite](https://github.com/khoih-prog/ESP_WiFiManager_Lite) - ### Release v1.9.1 1. Add `Captive Portal` using AsyncDNSServer. Check [Captive portal #22](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/22) diff --git a/library.json b/library.json index caee51b..e742083 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ESPAsync_WiFiManager_Lite", - "version": "1.10.1", + "version": "1.10.2", "keywords": "wifi, wi-fi, Async, Async-WebServer, Async-WiFiManager, Communication, MultiWiFi, multi-wifi, ESP32, ESP32-S2, ESP32-S3, esp32-c3, ESP8266, Credentials, config-portal, DoubleReset, MultiReset, Detector, dynamic-params, dynamic, customs-header", "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", "authors": diff --git a/library.properties b/library.properties index 94548ff..e838fbb 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESPAsync_WiFiManager_Lite -version=1.10.1 +version=1.10.2 author=Khoi Hoang maintainer=Khoi Hoang license=MIT diff --git a/src/ESPAsync_WiFiManager_Lite.h b/src/ESPAsync_WiFiManager_Lite.h index ff57cd0..3e513dd 100644 --- a/src/ESPAsync_WiFiManager_Lite.h +++ b/src/ESPAsync_WiFiManager_Lite.h @@ -9,7 +9,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite Licensed under MIT license - Version: 1.10.1 + Version: 1.10.2 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,7 @@ 1.9.0 K Hoang 09/09/2022 Fix ESP32 chipID and add getChipOUI() 1.9.1 K Hoang 28/12/2022 Add Captive Portal using AsyncDNSServer 1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data. Bump up to v1.10.1 + 1.10.2 K Hoang 15/01/2023 Add Config Portal scaling support to mobile devices *****************************************************************************************************************************/ #pragma once @@ -62,13 +63,13 @@ /////////////////////////////////////////// #ifndef ESP_ASYNC_WIFI_MANAGER_LITE_VERSION - #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION "ESPAsync_WiFiManager_Lite v1.10.1" + #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION "ESPAsync_WiFiManager_Lite v1.10.2" #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION_MAJOR 1 #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION_MINOR 10 - #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION_PATCH 1 + #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION_PATCH 2 - #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION_INT 1010001 + #define ESP_ASYNC_WIFI_MANAGER_LITE_VERSION_INT 1010002 #endif /////////////////////////////////////////// diff --git a/src/ESPAsync_WiFiManager_Lite_Debug.h b/src/ESPAsync_WiFiManager_Lite_Debug.h index 962c2ee..7aeb00b 100644 --- a/src/ESPAsync_WiFiManager_Lite_Debug.h +++ b/src/ESPAsync_WiFiManager_Lite_Debug.h @@ -9,7 +9,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite Licensed under MIT license - Version: 1.10.1 + Version: 1.10.2 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,7 @@ 1.9.0 K Hoang 09/09/2022 Fix ESP32 chipID and add getChipOUI() 1.9.1 K Hoang 28/12/2022 Add Captive Portal using AsyncDNSServer 1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data. Bump up to v1.10.1 + 1.10.2 K Hoang 15/01/2023 Add Config Portal scaling support to mobile devices *****************************************************************************************************************************/ #ifndef ESPAsync_WiFiManager_Lite_Debug_h