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 Jan 29, 2023. It is now read-only.
### Major Release v1.6.0
1. Add support to RP2040-based boards, such as **NANO_RP2040_CONNECT**, using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico)
2. Configurable `WIFI_RECON_INTERVAL`. Check [retries block the main loop #18](#18 (comment))
Copy file name to clipboardExpand all lines: README.md
+54-11Lines changed: 54 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,9 @@
60
60
*[12.1 Enable auto-scan of WiFi networks for selection in Configuration Portal](#121-enable-auto-scan-of-wifi-networks-for-selection-in-configuration-portal)
8.[`Adafruit nRF52 v1.2.0+`](https://www.adafruit.com) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
221
224
9.[`Arduino mbed_rp2040 core 2.6.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
222
-
10.[`Earle Philhower's arduino-pico core v1.9.12+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [](https://github.com/earlephilhower/arduino-pico/releases/latest)
225
+
10.[`Earle Philhower's arduino-pico core v1.9.13+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [](https://github.com/earlephilhower/arduino-pico/releases/latest)
223
226
11.[`Functional-VLPP library v1.0.2+`](https://github.com/khoih-prog/functional-vlpp) to use server's lambda function. To install. check [](https://www.ardu-badge.com/Functional-Vlpp)
224
227
12.[`WiFiNINA_Generic library v1.8.14-3+`](https://github.com/khoih-prog/WiFiNINA_Generic). To install. check [](https://www.ardu-badge.com/WiFiNINA_Generic)
225
228
13.[`Modified WiFi101 Library v0.16.1+`](https://github.com/khoih-prog/WiFi101) if using WINC1500/WiFi101 shields (MKR1000, etc.).
@@ -742,6 +745,38 @@ The maximum number of SSIDs in the list is seletable from 2 to 15. If invalid nu
742
745
#define MAX_SSID_IN_LIST 8
743
746
```
744
747
748
+
#### 13. To avoid blocking in loop when WiFi is lost
749
+
750
+
751
+
#### 13.1 Max times to try WiFi per loop
752
+
753
+
To define max times to try WiFi per loop() iteration. To avoid blocking issue in loop()
754
+
755
+
Default is 1 if not defined, and minimum is forced to be 1.
756
+
757
+
To use, uncomment in `defines.h`.
758
+
759
+
Check [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18#issue-1094004380)
760
+
761
+
```
762
+
#define MAX_NUM_WIFI_RECON_TRIES_PER_LOOP 2
763
+
```
764
+
765
+
#### 13.2 Interval between reconnection WiFi if lost
766
+
767
+
Default is no interval between reconnection WiFi times if lost WiFi. Max permitted interval will be 10mins.
768
+
769
+
Uncomment to use. Be careful, WiFi reconnection will be delayed if using this method.
770
+
771
+
Only use whenever urgent tasks in loop() can't be delayed. But if so, it's better you have to rewrite your code, e.g. using higher priority tasks.
772
+
773
+
Check [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18#issuecomment-1006197561)
774
+
775
+
```
776
+
#define WIFI_RECON_INTERVAL 30000 // 30s
777
+
```
778
+
779
+
745
780
746
781
---
747
782
---
@@ -1309,6 +1344,12 @@ void loop()
1309
1344
// Default 1 if not defined, and minimum 1.
1310
1345
//#define MAX_NUM_WIFI_RECON_TRIES_PER_LOOP 2
1311
1346
1347
+
// Default no interval between recon WiFi if lost
1348
+
// Max permitted interval will be 10mins
1349
+
// Uncomment to use. Be careful, WiFi reconnect will be delayed if using this method
1350
+
// Only use whenever urgent tasks in loop() can't be delayed. But if so, it's better you have to rewrite your code, e.g. using higher priority tasks.
1351
+
//#define WIFI_RECON_INTERVAL 30000
1352
+
1312
1353
/////////////////////////////////////////////
1313
1354
1314
1355
#define USE_DYNAMIC_PARAMETERS true
@@ -1500,7 +1541,7 @@ This is the terminal output when running [**SAMD_WiFiNINA**](examples/SAMD_WiFiN
1500
1541
1501
1542
```
1502
1543
Starting SAMD_WiFiNINA on SAMD NANO_33_IOT
1503
-
WiFiManager_NINA_Lite v1.5.0
1544
+
WiFiManager_NINA_Lite v1.6.0
1504
1545
[WN] Hostname=SAMD-Master-Controller
1505
1546
Flag read = 0xffffffff
1506
1547
No doubleResetDetected
@@ -1552,7 +1593,7 @@ FFFFFFFFF
1552
1593
1553
1594
```
1554
1595
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1555
-
WiFiManager_NINA_Lite v1.5.0
1596
+
WiFiManager_NINA_Lite v1.6.0
1556
1597
[WN] Hostname=SAMD-WIFININA51F485
1557
1598
[WN] CrCCSum=44880,CrRCSum=-1
1558
1599
[WN] CCSum=53040,RCSum=-1
@@ -1599,7 +1640,7 @@ FFFFFFFFF
1599
1640
1600
1641
```
1601
1642
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1602
-
WiFiManager_NINA_Lite v1.5.0
1643
+
WiFiManager_NINA_Lite v1.6.0
1603
1644
[WN] Hostname=SAMD-Master-Controller
1604
1645
Flag read = 0xd0d04321
1605
1646
No doubleResetDetected
@@ -1676,7 +1717,7 @@ HHHHHHHHHH HHHHHHHHHH
1676
1717
1677
1718
```
1678
1719
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1679
-
WiFiManager_NINA_Lite v1.5.0
1720
+
WiFiManager_NINA_Lite v1.6.0
1680
1721
[WN] Hostname=SAMD-Master-Controller
1681
1722
Flag read = 0xd0d04321
1682
1723
No doubleResetDetected
@@ -1740,7 +1781,7 @@ FF
1740
1781
1741
1782
```
1742
1783
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1743
-
WiFiManager_NINA_Lite v1.5.0
1784
+
WiFiManager_NINA_Lite v1.6.0
1744
1785
[WN] Hostname=SAMD-Master-Controller
1745
1786
Flag read = 0xd0d04321
1746
1787
No doubleResetDetected
@@ -1796,7 +1837,7 @@ HHHHHHHHH HHHHHHHHHH
1796
1837
1797
1838
```
1798
1839
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1799
-
WiFiManager_NINA_Lite v1.5.0
1840
+
WiFiManager_NINA_Lite v1.6.0
1800
1841
[WN] Hostname=SAMD-Master-Controller
1801
1842
Flag read = 0xd0d01234
1802
1843
doubleResetDetected
@@ -1852,7 +1893,7 @@ This is the terminal output when running [**RP2040_WiFiNINA_MQTT**](examples/RP2
1852
1893
1853
1894
```
1854
1895
Starting RP2040_WiFiNINA_MQTT on MBED NANO_RP2040_CONNECT
1855
-
WiFiManager_NINA_Lite v1.5.0
1896
+
WiFiManager_NINA_Lite v1.6.0
1856
1897
[WN] Hostname=RP2040-Master-Controller
1857
1898
LittleFS size (KB) = 64
1858
1899
LittleFS Mount OK
@@ -1904,7 +1945,7 @@ N
1904
1945
1905
1946
```
1906
1947
Starting RP2040_WiFiNINA_MQTT on MBED NANO_RP2040_CONNECT
1907
-
WiFiManager_NINA_Lite v1.5.0
1948
+
WiFiManager_NINA_Lite v1.6.0
1908
1949
[WN] Hostname=RP2040-Master-Controller
1909
1950
LittleFS size (KB) = 64
1910
1951
LittleFS Mount OK
@@ -2018,7 +2059,7 @@ Sometimes, the library will only work if you update the `WiFiNINA module/shield`
2018
2059
18. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico).
2019
2060
19. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
2020
2061
20. Add `LibraryPatches` for [**Adafruit_MQTT_Library**](https://github.com/adafruit/Adafruit_MQTT_Library) to fix compiler error for RP2040-based and many other boards.
2021
-
21. Fix the blocking issue in loop()
2062
+
21. Fix the blocking issue in loop() with configurable `WIFI_RECON_INTERVAL`
2022
2063
2023
2064
---
2024
2065
---
@@ -2042,7 +2083,9 @@ Submit issues to: [WiFiManager_NINA_Lite issues](https://github.com/khoih-prog/W
2042
2083
-[WiFiManager connection attempt to unconfigured ("blank") SSID after restart on SAMD #8](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/8) leading to v1.1.3 and v1.2.0
2043
2084
6. Again thanks to [Michael H. "bizprof"](https://github.com/bizprof) to be `collaborator, co-author/maintainer` of this library. With the impressive new introducing feature :
2044
2085
-`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.3.0
2045
-
7. Thanks to [tomtobback](https://github.com/tomtobback) to report issue [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18) leading to version v1.5.0 to fix the blocking issue in loop().
2086
+
7. Thanks to [tomtobback](https://github.com/tomtobback) to report issue [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18) leading to version v1.5.0 and v1.6.0 to fix the blocking issue in loop() with `WIFI_RECON_INTERVAL`.
Copy file name to clipboardExpand all lines: changelog.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
## Table of Contents
13
13
14
14
*[Changelog](#changelog)
15
+
*[Major Release v1.6.0](#major-release-v160)
15
16
*[Release v1.5.0](#release-v150)
16
17
*[Release v1.4.1](#release-v141)
17
18
*[Major Release v1.4.0](#major-release-v140)
@@ -35,6 +36,11 @@
35
36
36
37
## Changelog
37
38
39
+
### Major Release v1.6.0
40
+
41
+
1. Add support to RP2040-based boards, such as **NANO_RP2040_CONNECT**, using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico)
42
+
2. Configurable `WIFI_RECON_INTERVAL`. Check [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18#issuecomment-1006197561)
43
+
38
44
### Release v1.5.0
39
45
40
46
1. Fix the blocking issue in loop(). Check [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18)
"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",
0 commit comments