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

Commit 5707085

Browse files
authored
v1.14.0 to fix ESP32 chipID
### Releases v1.14.0 1. Fix `ESP32 chipID`. Check [Help for storing variables in memory (non-volatile) #87](khoih-prog/ESP_WiFiManager#87 (comment)) 2. Add ESP32 `ESP_getChipOUI()` function 3. Display new info on Config Portal for ESP32 4. Remove dependency on `LittleFS_esp32` library to prevent PIO error when using new `ESP32 core v1.0.6+`
1 parent 5397d7c commit 5707085

File tree

30 files changed

+261
-208
lines changed

30 files changed

+261
-208
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1212

1313
### How to submit a bug report
1414

15+
Please report bugs in ESP_WiFiManager if you find them.
16+
17+
However, before reporting a bug please check through the following:
18+
19+
* [Existing Open Issues](https://github.com/khoih-prog/ESP_WiFiManager/issues) - someone might have already encountered this.
20+
21+
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/ESP_WiFiManager/issues/new).
22+
23+
### How to submit a bug report
24+
1525
Please ensure to specify the following:
1626

1727
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
@@ -29,7 +39,7 @@ Please ensure to specify the following:
2939
Arduino IDE version: 1.8.19
3040
ESP8266 Core Version 3.0.2
3141
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
42+
Linux xy-Inspiron-3593 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3343
3444
Context:
3545
I encountered an endless loop while trying to connect to Local WiFi.

Images/Info.png

-7.69 KB
Loading

Images/Info_ESP32.png

-7.69 KB
Loading

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.14.0](#releases-v1140)
1516
* [Releases v1.13.0](#releases-v1130)
1617
* [Releases v1.12.2](#releases-v1122)
1718
* [Releases v1.12.1](#releases-v1121)
@@ -51,6 +52,13 @@
5152

5253
## Changelog
5354

55+
### Releases v1.14.0
56+
57+
1. Fix `ESP32 chipID`. Check [Help for storing variables in memory (non-volatile) #87](https://github.com/khoih-prog/ESP_WiFiManager/discussions/87#discussioncomment-3593028)
58+
2. Add ESP32 `ESP_getChipOUI()` function
59+
3. Display new info on Config Portal for ESP32
60+
4. Remove dependency on `LittleFS_esp32` library to prevent PIO error when using new `ESP32 core v1.0.6+`
61+
5462
### Releases v1.13.0
5563

5664
1. Using AsyncDNSServer instead of DNSServer. Check [Captive Portal hanging depending on active core for AsyncTCP #100](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/100)

examples/Async_AutoConnect/Async_AutoConnect.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1919
#endif
2020

21-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.12.2"
22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012002
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -88,8 +88,6 @@
8888
#endif
8989
//////
9090

91-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
92-
9391
#define LED_BUILTIN 2
9492
#define LED_ON HIGH
9593
#define LED_OFF LOW

examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.12.2"
23-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012002
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
23+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
2424

2525
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2626
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -91,8 +91,6 @@
9191
#endif
9292
//////
9393

94-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
95-
9694
#define LED_BUILTIN 2
9795
#define LED_ON HIGH
9896
#define LED_OFF LOW

examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.12.2"
23-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012002
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
23+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
2424

2525
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2626
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -92,8 +92,6 @@
9292
#endif
9393
//////
9494

95-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
96-
9795
#define LED_BUILTIN 2
9896
#define LED_ON HIGH
9997
#define LED_OFF LOW
@@ -128,15 +126,6 @@
128126
#define LED_OFF HIGH
129127
#endif
130128

131-
// For Config Portal
132-
// SSID and PW for Config Portal
133-
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
134-
const char* password = "your_password";
135-
136-
// SSID and PW for your Router
137-
String Router_SSID;
138-
String Router_Pass;
139-
140129
// From v1.1.1
141130
// You only need to format the filesystem once
142131
//#define FORMAT_FILESYSTEM true
@@ -282,6 +271,16 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
282271
// Redundant, for v1.10.0 only
283272
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
284273

274+
275+
// For Config Portal
276+
// SSID and PW for Config Portal
277+
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
278+
const char* password = "your_password";
279+
280+
// SSID and PW for your Router
281+
String Router_SSID;
282+
String Router_Pass;
283+
285284
#define HTTP_PORT 80
286285

287286
// Now support ArduinoJson 6.0.0+ ( tested with v6.15.2 to v6.16.1 )

examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1919
#endif
2020

21-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.12.2"
22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012002
21+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
2323

2424
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2525
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -88,8 +88,6 @@
8888
#endif
8989
//////
9090

91-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
92-
9391
#define LED_BUILTIN 2
9492
#define LED_ON HIGH
9593
#define LED_OFF LOW

examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2020
#endif
2121

22-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.12.2"
23-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012002
22+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
23+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
2424

2525
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2626
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -89,8 +89,6 @@
8989
#endif
9090
//////
9191

92-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
93-
9492
#define LED_BUILTIN 2
9593
#define LED_ON HIGH
9694
#define LED_OFF LOW

examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
3232
#endif
3333

34-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.12.2"
35-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012002
34+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
35+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
3636

3737
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
3838
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -107,8 +107,6 @@
107107
#endif
108108
//////
109109

110-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
111-
112110
#define LED_BUILTIN 2
113111
#define LED_ON HIGH
114112
#define LED_OFF LOW
@@ -238,15 +236,6 @@ void MQTT_connect();
238236
bool readConfigFile();
239237
bool writeConfigFile();
240238

241-
// For Config Portal
242-
// SSID and PW for Config Portal
243-
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
244-
String password;
245-
246-
// SSID and PW for your Router
247-
String Router_SSID;
248-
String Router_Pass;
249-
250239
// From v1.1.1
251240
// You only need to format the filesystem once
252241
//#define FORMAT_FILESYSTEM true
@@ -387,6 +376,17 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
387376

388377
// Redundant, for v1.10.0 only
389378
//#include <ESPAsync_WiFiManager-Impl.h> //https://github.com/khoih-prog/ESPAsync_WiFiManager
379+
380+
381+
// For Config Portal
382+
// SSID and PW for Config Portal
383+
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
384+
String password;
385+
386+
// SSID and PW for your Router
387+
String Router_SSID;
388+
String Router_Pass;
389+
390390
#define HTTP_PORT 80
391391

392392
// Create an ESP32 WiFiClient class to connect to the MQTT server

0 commit comments

Comments
 (0)