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 Feb 4, 2023. It is now read-only.
### Release v1.8.2
1. Optimize code by using passing by `reference` instead of by `value`
2. Optional `Board_Name` in Menu. Check [option to remove board name from web page #25](khoih-prog/WiFiManager_NINA_Lite#25)
3. Add function `isConfigMode()` to signal system is in Config Portal mode.
<ahref="https://www.buymeacoffee.com/khoihprog6"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Buy Me A Coffee"style="height: 50px!important;width: 181px!important;" ></a>
9
+
<ahref="https://www.buymeacoffee.com/khoihprog6"title="Donate to my libraries using BuyMeACoffee"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Donate to my libraries using BuyMeACoffee"style="height: 50px!important;width: 181px!important;" ></a>
10
+
<ahref="https://www.buymeacoffee.com/khoihprog6"title="Donate to my libraries using BuyMeACoffee"><imgsrc="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00"style="height: 20px!important;width: 200px!important;" ></a>
10
11
11
12
---
12
13
---
@@ -49,6 +50,7 @@
49
50
*[13. To avoid blocking in loop when WiFi is lost](#13-To-avoid-blocking-in-loop-when-wifi-is-lost)
50
51
*[13.1 Max times to try WiFi per loop](#131-max-times-to-try-wifi-per-loop)
51
52
*[13.2 Interval between reconnection WiFi if lost](#132-interval-between-reconnection-wifi-if-lost)
53
+
*[14. Not using Board_Name on Config_Portal](#14-Not-using-Board_Name-on-Config_Portal)
52
54
*[Examples](#examples)
53
55
*[ 1. ESP_WiFi](examples/ESP_WiFi)
54
56
*[ 2. ESP_WiFi_MQTT](examples/ESP_WiFi_MQTT)
@@ -508,6 +510,19 @@ Check [retries block the main loop #18](https://github.com/khoih-prog/WiFiManage
508
510
#define WIFI_RECON_INTERVAL 30000 // 30s
509
511
```
510
512
513
+
#### 14. Not using Board_Name on Config_Portal
514
+
515
+
Default is `true`. Just change to `false` to Not using `Board_Name` on Config_Portal
516
+
517
+
```
518
+
/////////////////////////////////////////////
519
+
520
+
// Optional, to use Board Name in Menu
521
+
#define USING_BOARD_NAME false
522
+
523
+
/////////////////////////////////////////////
524
+
```
525
+
511
526
---
512
527
---
513
528
@@ -791,14 +806,21 @@ Please take a look at other examples, as well.
791
806
#include"Credentials.h"
792
807
#include"dynamicParams.h"
793
808
809
+
ESP_WiFiManager_Lite* ESP_WiFiManager;
810
+
794
811
voidheartBeatPrint()
795
812
{
796
813
static int num = 1;
797
814
798
815
if (WiFi.status() == WL_CONNECTED)
799
-
Serial.print(F("H")); // H means connected to WiFi
816
+
Serial.print("H"); // H means connected to WiFi
800
817
else
801
-
Serial.print(F("F")); // F means not connected to WiFi
818
+
{
819
+
if (ESP_WiFiManager->isConfigMode())
820
+
Serial.print("C"); // C means in Config Mode
821
+
else
822
+
Serial.print("F"); // F means not connected to WiFi
0 commit comments