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

Commit a73dbe2

Browse files
authored
v1.11.0 to fix ESP32 chipID
### Releases v1.11.0 1. Fix ESP32 chipID. Check [Help for storing variables in memory (non-volatile) #87](#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 69ec6b3 commit a73dbe2

File tree

31 files changed

+295
-240
lines changed

31 files changed

+295
-240
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.2)
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.4)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -29,7 +29,7 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.19
3030
ESP8266 Core Version 3.0.2
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
32+
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
3333
3434
Context:
3535
I encountered an endless loop while trying to connect to Local WiFi.

Images/Info.png

-2.93 KB
Loading

README.md

Lines changed: 55 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
## Table of Contents
1818

1919
* [Important Breaking Change from v1.8.0](#Important-Breaking-Change-from-v180)
20+
* [For v1.11.0 and up](#For-v1110-and-up)
2021
* [For v1.9.0 and up](#For-v190-and-up)
2122
* [For v1.8.0 only](#For-v180-only)
2223
* [Important Note](#important-note)
@@ -155,6 +156,19 @@
155156

156157
### Important Breaking Change from v1.8.0
157158

159+
#### For v1.11.0 and up
160+
161+
ESP32 `chipID` is now correct and unique. The previous releases' 32-bit wrong `chipID` is mainly the 24-bit `Organizational Unique Identifier` (OUI) plus 8 bits from the correct chipID. That's why `ESP_getChipId()` function can return duplicated values if the boards are from the same batch.
162+
163+
For example
164+
165+
```
166+
Chip_ID_64 : 0x98F4AB085288
167+
chipOUI : 0x98F4AB
168+
chipId : 0x85288
169+
getEfuseMac: 0x885208ABF498
170+
```
171+
158172
#### For v1.9.0 and up
159173

160174
Please have a look at [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
@@ -289,10 +303,10 @@ It's using a web ConfigPortal, served from the `ESP32 / ESP8266`, and operating
289303

290304
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)
291305
2. [`ESP8266 Core 3.0.2+`](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.
292-
3. [`ESP32 Core 2.0.2+`](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/)
306+
3. [`ESP32 Core 2.0.4+`](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/)
293307
4. [`ESP_DoubleResetDetector v1.3.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). Use v1.1.0+ if using LittleFS for ESP32.
294308
5. [`ESP_MultiResetDetector v1.3.1+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_MultiResetDetector.svg?)](https://www.ardu-badge.com/ESP_MultiResetDetector).
295-
6. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core v1.0.5-. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and you don't need to install it if using ESP32 core v1.0.6+
309+
6. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core **v1.0.5-**. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and **you don't need to install it if using ESP32 core v1.0.6+**
296310

297311
---
298312

@@ -496,8 +510,6 @@ then connect WebBrowser to configurable ConfigPortal IP address, default is 192.
496510
#endif
497511
//////
498512

499-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
500-
501513
#define LED_BUILTIN 2
502514
#define LED_ON HIGH
503515
#define LED_OFF LOW
@@ -532,14 +544,6 @@ then connect WebBrowser to configurable ConfigPortal IP address, default is 192.
532544
#define LED_OFF HIGH
533545
#endif
534546

535-
// SSID and PW for Config Portal
536-
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
537-
const char* password = "your_password";
538-
539-
// SSID and PW for your Router
540-
String Router_SSID;
541-
String Router_Pass;
542-
543547
// From v1.1.0
544548
// You only need to format the filesystem once
545549
//#define FORMAT_FILESYSTEM true
@@ -576,6 +580,14 @@ WM_Config WM_config;
576580
//////
577581

578582
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
583+
584+
// SSID and PW for Config Portal
585+
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
586+
const char* password = "your_password";
587+
588+
// SSID and PW for your Router
589+
String Router_SSID;
590+
String Router_Pass;
579591
```
580592
---
581593

@@ -635,8 +647,6 @@ WM_Config WM_config;
635647
#endif
636648
//////
637649

638-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
639-
640650
#define LED_BUILTIN 2
641651
#define LED_ON HIGH
642652
#define LED_OFF LOW
@@ -671,14 +681,6 @@ WM_Config WM_config;
671681
#define LED_OFF HIGH
672682
#endif
673683

674-
// SSID and PW for Config Portal
675-
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
676-
const char* password = "your_password";
677-
678-
// SSID and PW for your Router
679-
String Router_SSID;
680-
String Router_Pass;
681-
682684
// From v1.1.0
683685
// You only need to format the filesystem once
684686
//#define FORMAT_FILESYSTEM true
@@ -783,10 +785,18 @@ IPAddress APStaticSN = IPAddress(255, 255, 255, 0);
783785

784786
#include <ESP_WiFiManager.h> //https://github.com/khoih-prog/ESP_WiFiManager
785787

788+
// SSID and PW for Config Portal
789+
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
790+
const char* password = "your_password";
791+
792+
// SSID and PW for your Router
793+
String Router_SSID;
794+
String Router_Pass;
795+
786796
///////////////////////////////////////////
787797
// New in v1.4.0
788798
/******************************************
789-
* // Defined in ESPAsync_WiFiManager.h
799+
* // Defined in ESP_WiFiManager.h
790800
typedef struct
791801
{
792802
IPAddress _ap_static_ip;
@@ -2192,7 +2202,7 @@ This is terminal debug output when running [ConfigOnSwitchFS_MQTT_Ptr](examples/
21922202

21932203
```
21942204
Starting ConfigOnSwichFS_MQTT_Ptr using LittleFS on ESP8266_NODEMCU_ESP12E
2195-
ESP_WiFiManager v1.10.2
2205+
ESP_WiFiManager v1.11.0
21962206
Configuration file not found
21972207
Failed to read configuration file, using default values
21982208
[WM] RFC925 Hostname = ConfigOnSwichFS-MQTT
@@ -2304,7 +2314,7 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP3
23042314

23052315
```cpp
23062316
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32_DEV
2307-
ESP_WiFiManager v1.10.2
2317+
ESP_WiFiManager v1.11.0
23082318
ESP_DoubleResetDetector v1.3.1
23092319
FS File: /ConfigSW.json, size: 150B
23102320
FS File: /CanadaFlag_1.png, size: 40.25KB
@@ -2369,7 +2379,7 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP3
23692379

23702380
```
23712381
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using LittleFS on ESP32_DEV
2372-
ESP_WiFiManager v1.10.2
2382+
ESP_WiFiManager v1.11.0
23732383
ESP_DoubleResetDetector v1.3.1
23742384
FS File: /CanadaFlag_1.png, size: 40.25KB
23752385
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -2396,7 +2406,7 @@ Saving config file OK
23962406
Open Config Portal without Timeout: Double Reset Detected
23972407
[WM] WiFi.waitForConnectResult Done
23982408
[WM] SET AP
2399-
[WM] Configuring AP SSID = ESP_9ABF498
2409+
[WM] Configuring AP SSID = ESP_85288
24002410
[WM] AP PWD = your_password
24012411
[WM] AP Channel = 10
24022412
[WM] Custom AP IP/GW/Subnet = 192.168.232.1 192.168.232.1 255.255.255.0
@@ -2428,7 +2438,7 @@ This is terminal debug output when running [ConfigOnDRD_FS_MQTT_Ptr_Complex](exa
24282438
24292439
```
24302440
Starting ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP32_DEV
2431-
ESP_WiFiManager v1.10.2
2441+
ESP_WiFiManager v1.11.0
24322442
ESP_DoubleResetDetector v1.3.1
24332443
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
24342444
Config File successfully parsed
@@ -2471,7 +2481,7 @@ WWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
24712481
24722482
```
24732483
Starting ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP32_DEV
2474-
ESP_WiFiManager v1.10.2
2484+
ESP_WiFiManager v1.11.0
24752485
ESP_DoubleResetDetector v1.3.1
24762486
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
24772487
Config File successfully parsed
@@ -2493,7 +2503,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
24932503
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
24942504
[WM] WiFi.waitForConnectResult Done
24952505
[WM] SET AP
2496-
[WM] Configuring AP SSID = ESP_9ABF498
2506+
[WM] Configuring AP SSID = ESP_85288
24972507
[WM] AP PWD = your_password
24982508
[WM] AP Channel = 4
24992509
[WM] Custom AP IP/GW/Subnet = 192.168.100.1 192.168.100.1 255.255.255.0
@@ -2556,7 +2566,7 @@ This is terminal debug output when running [ConfigOnDRD_FS_MQTT_Ptr_Complex](exa
25562566
25572567
```
25582568
Starting ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP8266_NODEMCU_ESP12E
2559-
ESP_WiFiManager v1.10.2
2569+
ESP_WiFiManager v1.11.0
25602570
ESP_DoubleResetDetector v1.3.1
25612571
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
25622572
Config File successfully parsed
@@ -2596,7 +2606,7 @@ TWWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
25962606
25972607
```
25982608
Starting ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP8266_NODEMCU_ESP12E
2599-
ESP_WiFiManager v1.10.2
2609+
ESP_WiFiManager v1.11.0
26002610
ESP_DoubleResetDetector v1.3.1
26012611
{"AIO_KEY_Label":"aio_key","AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name"}
26022612
Config File successfully parsed
@@ -2673,7 +2683,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
26732683
26742684
```
26752685
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
2676-
ESP_WiFiManager v1.10.2
2686+
ESP_WiFiManager v1.11.0
26772687
ESP_DoubleResetDetector v1.3.1
26782688
[WM] RFC925 Hostname = ConfigOnDoubleReset
26792689
[WM] setAPStaticIPConfig
@@ -2723,7 +2733,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
27232733
27242734
```
27252735
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
2726-
ESP_WiFiManager v1.10.2
2736+
ESP_WiFiManager v1.11.0
27272737
ESP_DoubleResetDetector v1.3.1
27282738
[WM] RFC925 Hostname = ConfigOnDoubleReset
27292739
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -2742,16 +2752,16 @@ doubleResetDetected
27422752
Saving config file...
27432753
Saving config file OK
27442754
Open Config Portal without Timeout: Double Reset Detected
2745-
Starting configuration portal @ 192.168.4.1:80, SSID = ESP_9ABF498, PWD = MyESP_9ABF498
2755+
Starting configuration portal @ 192.168.4.1:80, SSID = ESP_85288, PWD = MyESP_85288
27462756
```
27472757
27482758
#### 7.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
27492759
27502760
```
27512761
[WM] WiFi.waitForConnectResult Done
27522762
[WM] SET AP
2753-
[WM] Configuring AP SSID = ESP_9ABF498
2754-
[WM] AP PWD = MyESP_9ABF498
2763+
[WM] Configuring AP SSID = ESP_85288
2764+
[WM] AP PWD = MyESP_85288
27552765
[WM] AP Channel = 8
27562766
[WM] AP IP address = 192.168.4.1
27572767
[WM] HTTP server started
@@ -2833,7 +2843,7 @@ Local Date/Time: Thu May 6 21:29:18 2021
28332843
28342844
```
28352845
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
2836-
ESP_WiFiManager v1.10.2
2846+
ESP_WiFiManager v1.11.0
28372847
ESP_DoubleResetDetector v1.3.1
28382848
[WM] RFC925 Hostname = ConfigOnDoubleReset
28392849
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -2884,7 +2894,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
28842894
28852895
```
28862896
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
2887-
ESP_WiFiManager v1.10.2
2897+
ESP_WiFiManager v1.11.0
28882898
ESP_DoubleResetDetector v1.3.1
28892899
[WM] RFC925 Hostname = ConfigOnDoubleReset
28902900
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -3030,7 +3040,7 @@ Local Date/Time: Thu May 6 21:29:18 2021
30303040
30313041
```
30323042
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
3033-
ESP_WiFiManager v1.10.2
3043+
ESP_WiFiManager v1.11.0
30343044
ESP_DoubleResetDetector v1.3.1
30353045
[WM] RFC925 Hostname = ConfigOnDoubleReset
30363046
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -3083,7 +3093,7 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP3
30833093
30843094
```
30853095
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32C3_DEV
3086-
ESP_WiFiManager v1.10.2
3096+
ESP_WiFiManager v1.11.0
30873097
ESP_DoubleResetDetector v1.3.1
30883098
FS File: wm_cp.dat, size: 4B
30893099
FS File: wm_cp.bak, size: 4B
@@ -3155,7 +3165,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
31553165
31563166
```
31573167
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S3_DEV
3158-
ESP_WiFiManager v1.10.2
3168+
ESP_WiFiManager v1.11.0
31593169
ESP_DoubleResetDetector v1.3.1
31603170
[WM] RFC925 Hostname = ConfigOnDoubleReset
31613171
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -3213,7 +3223,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
32133223
32143224
```
32153225
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32C3_DEV
3216-
ESP_WiFiManager v1.10.2
3226+
ESP_WiFiManager v1.11.0
32173227
ESP_DoubleResetDetector v1.3.1
32183228
[WM] RFC925 Hostname = ConfigOnDoubleReset
32193229
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -3315,6 +3325,7 @@ Submit issues to: [ESP_WiFiManager issues](https://github.com/khoih-prog/ESP_WiF
33153325
17. Thanks to [Dean Ott](https://github.com/deanjott) for reporting [WiFiManager works only on port 80 #75](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/75) and providing the solution leading to v1.7.8
33163326
18. Thanks to [Twaste](https://github.com/Twaste) for initiating the discussion in [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80) and providing the idea to the solution, to fix `multiple-definitions` linker error, leading to v1.8.0
33173327
19. Thanks to [Richard Hawthorn](https://github.com/richardhawthorn) for reporting [Cors header not sent when saving wifi details, even when cors is enabled #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/issues/80) and providing the solution leading to v1.10.2
3328+
20. Thanks to [MattiaCC93](https://github.com/MattiaCC93) for open discussion [Help for storing variables in memory (non-volatile) #87](https://github.com/khoih-prog/ESP_WiFiManager/discussions/87#discussioncomment-3593028) and report the ESP32 chipID bug, leading to v1.11.0.
33183329

33193330
---
33203331

@@ -3348,6 +3359,7 @@ Submit issues to: [ESP_WiFiManager issues](https://github.com/khoih-prog/ESP_WiF
33483359
<td align="center"><a href="https://github.com/deanjott"><img src="https://github.com/deanjott.png" width="100px;" alt="deanjott"/><br /><sub><b>Dean Ott</b></sub></a><br /></td>
33493360
<td align="center"><a href="https://github.com/Twaste"><img src="https://github.com/Twaste.png" width="100px;" alt="Twaste"/><br /><sub><b>Twaste</b></sub></a><br /></td>
33503361
<td align="center"><a href="https://github.com/richardhawthorn"><img src="https://github.com/richardhawthorn.png" width="100px;" alt="richardhawthorn"/><br /><sub><b>Richard Hawthorn</b></sub></a><br /></td>
3362+
<td align="center"><a href="https://github.com/MattiaCC93"><img src="https://github.com/MattiaCC93.png" width="100px;" alt="MattiaCC93"/><br /><sub><b>MattiaCC93</b></sub></a><br /></td>
33513363
</tr>
33523364
</table>
33533365

changelog.md

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

1515
* [Changelog](#changelog)
16+
* [Releases v1.11.0](#releases-v1110)
1617
* [Releases v1.10.2](#releases-v1102)
1718
* [Releases v1.10.1](#releases-v1101)
1819
* [Releases v1.10.0](#releases-v1100)
@@ -54,6 +55,13 @@
5455

5556
## Changelog
5657

58+
### Releases v1.11.0
59+
60+
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)
61+
2. Add ESP32 ESP_getChipOUI() function
62+
3. Display new info on Config Portal for ESP32
63+
4. Remove dependency on `LittleFS_esp32` library to prevent PIO error when using new ESP32 core v1.0.6+
64+
5765
### Releases v1.10.2
5866

5967
1. Send CORS header in handleWifiSave() function. Check [Cors header not sent when saving wifi details, even when cors is enabled #80](https://github.com/khoih-prog/ESP_WiFiManager/issues/80)

examples/AutoConnect/AutoConnect.ino

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
1616
#endif
1717

18-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.10.2"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1010002
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2222
#define _WIFIMGR_LOGLEVEL_ 3
@@ -84,11 +84,10 @@
8484
#define FS_Name "FFat"
8585
#endif
8686
//////
87-
88-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
89-
90-
#define LED_ON HIGH
91-
#define LED_OFF LOW
87+
88+
#define LED_BUILTIN 2
89+
#define LED_ON HIGH
90+
#define LED_OFF LOW
9291

9392
#else
9493

examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino

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

18-
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.10.2"
19-
#define ESP_WIFIMANAGER_VERSION_MIN 1010002
18+
#define ESP_WIFIMANAGER_VERSION_MIN_TARGET "ESP_WiFiManager v1.11.0"
19+
#define ESP_WIFIMANAGER_VERSION_MIN 1011000
2020

2121
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2222
#define _WIFIMGR_LOGLEVEL_ 3
@@ -87,8 +87,6 @@
8787
#endif
8888
//////
8989

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

0 commit comments

Comments
 (0)