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

Commit

Permalink
v1.7.0 to use WiFiMulti_Generic library
Browse files Browse the repository at this point in the history
### Release v1.7.0

1. Use [WiFiMulti_Generic](https://github.com/khoih-prog/WiFiMulti_Generic) library to connect to the best of **multi-WiFi APs**, with **auto-checking / auto-reconnecting** features when WiFi connection is lost.
2. Update `Packages' Patches`
  • Loading branch information
khoih-prog authored Apr 27, 2022
1 parent 945e9f6 commit 2604c70
Show file tree
Hide file tree
Showing 15 changed files with 609 additions and 1,537 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v2.7.2, etc.)
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v3.0.1, etc.)
* 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:
Expand All @@ -28,9 +28,9 @@ Please ensure to specify the following:
```
Arduino IDE version: 1.8.19
Nano_RP2040_Connect board
ArduinoCore-mbed v2.6.1
ArduinoCore-mbed v3.0.1
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux xy-Inspiron-3593 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Context:
The board couldn't autoreconnect to Local Blynk Server after router power recycling.
Expand Down
644 changes: 100 additions & 544 deletions README.md

Large diffs are not rendered by default.

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

* [Changelog](#changelog)
* [Release v1.7.0](#release-v170)
* [Release v1.6.3](#release-v163)
* [Release v1.6.2](#release-v162)
* [Release v1.6.1](#release-v161)
Expand Down Expand Up @@ -39,6 +40,11 @@

## Changelog

### Release v1.7.0

1. Use [WiFiMulti_Generic](https://github.com/khoih-prog/WiFiMulti_Generic) library to connect to the best of **multi-WiFi APs**, with **auto-checking / auto-reconnecting** features when WiFi connection is lost.
2. Update `Packages' Patches`

### Release v1.6.3

1. Add optional `CONFIG_MODE_LED` to be `ON` when in Config Portal mode. Check [Knowing when configuration mode is on or off #26](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/26)
Expand Down
8 changes: 8 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ WIFIMANAGER_NINA_LITE_VERSION_MINOR LITERAL1
WIFIMANAGER_NINA_LITE_VERSION_PATCH LITERAL1
WIFIMANAGER_NINA_LITE_VERSION_INT LITERAL1

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

CONFIG_DATA_SIZE LITERAL1
NUM_MENU_ITEMS LITERAL1
WIFININA_HTML_HEAD LITERAL1
Expand All @@ -69,6 +71,8 @@ WIFININA_HTML_SCRIPT_ITEM LITERAL1
WIFININA_HTML_SCRIPT_END LITERAL1
WIFININA_HTML_END LITERAL1

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

WM_HTTP_HEAD_CL LITERAL1
WM_HTTP_HEAD_TEXT_HTML LITERAL1
WM_HTTP_HEAD_TEXT_PLAIN LITERAL1
Expand All @@ -80,6 +84,8 @@ WM_HTTP_EXPIRES LITERAL1
WM_HTTP_CORS LITERAL1
WM_HTTP_CORS_ALLOW_ALL LITERAL1

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

USING_BOARD_NAME LITERAL1

FORCED_CONFIG_PORTAL_FLAG_DATA LITERAL1
Expand All @@ -91,6 +97,8 @@ CONFIG_MODE_LED LITERAL1
LED_ON LITERAL1
LED_OFF LITERAL1

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




12 changes: 9 additions & 3 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "WiFiManager_NINA_Lite",
"version": "1.6.3",
"keywords": "wifi, wi-fi, MutiWiFi, WiFiNINA, SAM DUE, SAMD, nRF52, STM32, rpi-pico, rp2040, nano-rp2040-connect, Credentials, config-portal, dynamic-params, FlashStorage-SAMD, FlashStorage-STM32, DueFlashStorage, LittleFS, Double-Reset, FlashStorage, light-weight, EEPROM, AVR Mega",
"description": "Library to configure MultiWiFi/Credentials at runtime for AVR Mega, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano RP2040 Connect, RASPBERRY_PI_PICO) boards, etc. using WiFiNINA modules/shields. 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, EEPROM, FlashStorage_SAMD, FlashStorage_STM32 or DueFlashStorage. DoubleDetectDetector feature permits entering Config Portal as requested",
"description": "Library to configure MultiWiFi/Credentials at runtime for AVR Mega, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano RP2040 Connect, RASPBERRY_PI_PICO) boards, etc. using WiFiNINA modules/shields. 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, EEPROM, FlashStorage_SAMD, FlashStorage_STM32 or DueFlashStorage. DoubleDetectDetector feature permits entering Config Portal as requested. Now using WiFiMulti_Generic library",
"authors":
{
"name": "Khoi Hoang",
Expand Down Expand Up @@ -30,10 +30,16 @@
"version": "^1.8.14-3",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "WiFiMulti_Generic",
"version": ">=1.1.1",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "DoubleResetDetector_Generic",
"version": "^1.8.0",
"version": "^1.8.1",
"platforms": ["*"]
},
{
Expand All @@ -57,7 +63,7 @@
{
"owner": "khoih-prog",
"name": "WiFiWebServer",
"version": "^1.6.1",
"version": "^1.8.0",
"platforms": ["*"]
},
{
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name=WiFiManager_NINA_Lite
version=1.6.3
version=1.7.0
author=Khoi Hoang
maintainer=Khoi Hoang <[email protected]>
license=MIT
sentence=Light-Weight MultiWiFi/Credentials Manager for AVR Mega, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano RP2040 Connect, RASPBERRY_PI_PICO) boards, etc. using u-blox WiFiNINA / WiFi101 modules/shields. Powerful-yet-simple-to-use feature to enable adding dynamic custom parameters.
paragraph=Library to configure MultiWiFi/Credentials at runtime for AVR Mega, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano RP2040 Connect, RASPBERRY_PI_PICO) boards, etc. using WiFiNINA / WiFi101 modules/shields. 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, EEPROM, FlashStorage_SAMD, FlashStorage_STM32 or DueFlashStorage. DoubleDetectDetector feature permits entering Config Portal as requested.
paragraph=Library to configure MultiWiFi/Credentials at runtime for AVR Mega, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano RP2040 Connect, RASPBERRY_PI_PICO) boards, etc. using WiFiNINA / WiFi101 modules/shields. 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, EEPROM, FlashStorage_SAMD, FlashStorage_STM32 or DueFlashStorage. DoubleDetectDetector feature permits entering Config Portal as requested. Now using WiFiMulti_Generic library
category=Communication
url=https://github.com/khoih-prog/WiFiManager_NINA_Lite
architectures=*
depends=Functional-Vlpp,WiFiNINA_Generic,WiFiWebServer,DoubleResetDetector_Generic,FlashStorage_SAMD,FlashStorage_STM32
depends=Functional-Vlpp, WiFiMulti_Generic, WiFiNINA_Generic, WiFiWebServer, DoubleResetDetector_Generic, FlashStorage_SAMD, FlashStorage_STM32
37 changes: 32 additions & 5 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
default_envs = SAMD
;default_envs = NRF52
;default_envs = STM32
;default_envs = pico
;default_envs = portenta_h7_m7
;default_envs = portenta_h7_m4

[env]
; ============================================================
Expand All @@ -35,20 +38,24 @@ upload_speed = 921600

; Checks for the compatibility with frameworks and dev/platforms
lib_compat_mode = strict
lib_ldf_mode = chain+
;lib_ldf_mode = deep+

lib_deps =
; PlatformIO 4.x
; WiFiNINA_Generic@>=1.8.14-3
; WiFiWebServer@>=1.6.1
; WiFiMulti_Generic@>=1.1.1
; WiFiWebServer@>=1.8.0
; Functional-Vlpp@>=1.0.2
; DoubleResetDetector_Generic@>=1.8.0
; DoubleResetDetector_Generic@>=1.8.1
; FlashStorage_SAMD@>=1.3.2
; FlashStorage_STM32@>=1.2.0
; PlatformIO 5.x
khoih-prog/WiFiNINA_Generic@>=1.8.14-3
khoih-prog/WiFiWebServer@>=1.6.1
khoih-prog/WiFiMulti_Generic@>=1.1.1
khoih-prog/WiFiWebServer@>=1.8.0
khoih-prog/Functional-Vlpp@>=1.0.2
khoih-prog/DoubleResetDetector_Generic@>=1.8.0
khoih-prog/DoubleResetDetector_Generic@>=1.8.1
khoih-prog/FlashStorage_SAMD@>=1.3.2
khoih-prog/FlashStorage_STM32@>=1.2.0

Expand Down Expand Up @@ -105,7 +112,7 @@ board = nodemcuv2

[env:ESP32]
platform = espressif32
framework = arduino, espidf
framework = arduino
; ============================================================
; Board configuration
; choose your board by uncommenting one of the following lines
Expand Down Expand Up @@ -345,6 +352,26 @@ framework = arduino
;board = coreboard_f401rc
;board = feather_f405

[env:portenta_h7_m7]
platform = ststm32
board = portenta_h7_m7
framework = arduino

[env:portenta_h7_m4]
platform = ststm32
board = portenta_h7_m4
framework = arduino

[env:pico]
; ============================================================
; Just a sample
; You have to research and fix if there is issue
; ============================================================
platform = raspberrypi
board = pico
framework = arduino
upload_protocol = picotool

; ============================================================
; Board configuration Many more Boards to be filled
; ============================================================
Expand Down
Loading

0 comments on commit 2604c70

Please sign in to comment.