@@ -106,8 +106,9 @@ It's really strange to define a breaking enum `arduino_event_id_t` in [**WiFiGen
106106
107107It's better to preserve the old enum order and just adding new items ** to do no harm to pre-2.0.0 codes**
108108
109- - Releases v1.2.0- to be used for EP32 core v1.0.6- only
110- - Releases v1.3.0+ can be used for either EP32 core v2.0.0+ or v1.0.6-. ** Default is using core v2.0.0+**
109+ - Releases v1.2.0- to be used for ESP32 core v1.0.6- only
110+ - Releases v1.3.0 can be used for either ESP32 core v2.0.0+ or v1.0.6-. ** Default is using core v2.0.0+**
111+ - Releases v1.4.0 can be used for either ESP32 core v2.0.0+ or v1.0.6-. ** Autodetect core**
111112
112113To use with core v1.0.6-, just define in your sketch
113114
@@ -149,8 +150,8 @@ This [**WebServer_WT32_ETH01** library](https://github.com/khoih-prog/WebServer_
149150## Prerequisites
150151
151152 1 . [ ` Arduino IDE 1.8.16+ ` for Arduino] ( https://www.arduino.cc/en/Main/Software )
152- 2 . [ ` ESP32 Core 2.0.0 + ` ] ( https://github.com/espressif/arduino-esp32 ) for ESP32-based boards using release v1.3.0+. [ ![ Latest release] ( https://img.shields.io/github/release/espressif/arduino-esp32.svg )] ( https://github.com/espressif/arduino-esp32/releases/latest/ )
153- 2 . [ ` ESP32 Core 1.0.6- ` ] ( https://github.com/espressif/arduino-esp32 ) for ESP32-based boards using release v1.2.0- [ ![ Latest release] ( https://img.shields.io/github/release/espressif/arduino-esp32.svg )] ( https://github.com/espressif/arduino-esp32/releases/latest/ )
153+ 2 . [ ` ESP32 Core 2.0.1 + ` ] ( https://github.com/espressif/arduino-esp32 ) for ESP32-based WT32_ETH01 boards using release v1.3.0+. [ ![ Latest release] ( https://img.shields.io/github/release/espressif/arduino-esp32.svg )] ( https://github.com/espressif/arduino-esp32/releases/latest/ )
154+ 3 . [ ` ESP32 Core 1.0.6- ` ] ( https://github.com/espressif/arduino-esp32 ) for ESP32-based WT32_ETH01 boards using release v1.2.0- [ ![ Latest release] ( https://img.shields.io/github/release/espressif/arduino-esp32.svg )] ( https://github.com/espressif/arduino-esp32/releases/latest/ )
154155
155156---
156157---
@@ -438,9 +439,6 @@ Example:
438439// Debug Level from 0 to 4
439440#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
440441
441- // Uncomment to use ESP32 core v1.0.6-
442- // #define USING_CORE_ESP32_CORE_V200_PLUS false
443-
444442#include < WebServer_WT32_ETH01.h>
445443
446444WebServer server (80);
@@ -674,7 +672,7 @@ The following are debug terminal output and screen shot when running example [Ad
674672
675673```
676674Starting AdvancedWebServer on ESP32_DEV with ETH_PHY_LAN8720
677- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
675+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
678676
679677ETH Started
680678ETH Connected
@@ -692,7 +690,7 @@ The terminal output of **WT32_ETH01** running [ESP32_FS_EthernetWebServer](examp
692690
693691```cpp
694692Starting ESP32_FS_EthernetWebServer on ESP32_DEV with ETH_PHY_LAN8720
695- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
693+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
696694
697695ETH Started
698696ETH Connected
@@ -742,7 +740,7 @@ The terminal output of **WT32_ETH01** running [MQTT_ThingStream example](example
742740
743741```
744742Starting MQTT_ThingStream on ESP32_DEV with ETH_PHY_LAN8720
745- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
743+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
746744ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
747745***************************************
748746esp32-sniffer/12345678/ble
@@ -766,7 +764,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_Auth example](examples
766764
767765```
768766Starting MQTTClient_Auth on ESP32_DEV with ETH_PHY_LAN8720
769- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
767+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
770768ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
771769Attempting MQTT connection to broker.emqx.io...connected
772770Message Send : MQTT_Pub => Hello from MQTTClient_Auth on WT32-ETH01 with ETH_PHY_LAN8720
@@ -783,7 +781,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_Basic example](example
783781
784782```
785783Starting MQTTClient_Basic on ESP32_DEV with ETH_PHY_LAN8720
786- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
784+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
787785ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
788786Attempting MQTT connection to broker.emqx.io...connected
789787Message Send : MQTT_Pub => Hello from MQTTClient_Basic on WT32-ETH01 with ETH_PHY_LAN8720
@@ -803,7 +801,7 @@ The terminal output of **WT32_ETH01** running [WebClient example](examples/WebCl
803801
804802```
805803Starting WebClient on ESP32_DEV with ETH_PHY_LAN8720
806- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
804+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
807805ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
808806
809807Starting connection to server...
@@ -871,7 +869,7 @@ The terminal output of **WT32_ETH01** running [UdpNTPClient example](examples/Ud
871869
872870```
873871Starting UdpNTPClient on ESP32_DEV with ETH_PHY_LAN8720
874- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
872+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
875873ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
876874UDP Packet received, size 48
877875From 132.163.97.1, port 123
@@ -900,7 +898,7 @@ The terminal output of **WT32_ETH01** running [BasicHttpClient example](examples
900898
901899```
902900Starting BasicHttpClient on ESP32_DEV with ETH_PHY_LAN8720
903- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
901+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
904902ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
905903[HTTP] begin...
906904[HTTP] GET...
@@ -962,7 +960,7 @@ The terminal output of **WT32_ETH01** running [BasicHttpsClient example](example
962960
963961```
964962Starting BasicHttpsClient on ESP32_DEV with ETH_PHY_LAN8720
965- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
963+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
966964ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
967965Waiting for NTP time sync: .
968966Current time: Tue Jul 6 05:29:39 2021
@@ -1007,7 +1005,7 @@ The terminal output of **WT32_ETH01** running [WebClientMulti_SSL example](examp
10071005
10081006```
10091007Starting WebClientMulti_SSL on ESP32_DEV with ETH_PHY_LAN8720
1010- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
1008+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
10111009ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
10121010Waiting for NTP time sync: .
10131011Current time: Tue Jul 6 19:58:27 2021
@@ -1121,7 +1119,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL_Complex example](e
11211119
11221120```
11231121Starting MQTTClient_SSL_Complex on ESP32_DEV with ETH_PHY_LAN8720
1124- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
1122+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
11251123ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11261124Waiting for NTP time sync: .
11271125Current time: Tue Jul 6 18:14:02 2021
@@ -1141,7 +1139,7 @@ The terminal output of **WT32_ETH01** running [MQTTS_ThingStream example](exampl
11411139
11421140```
11431141Starting MQTTS_ThingStream on ESP32_DEV with ETH_PHY_LAN8720
1144- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
1142+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
11451143ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11461144Waiting for NTP time sync: .
11471145Current time: Tue Jul 6 18:38:22 2021
@@ -1167,7 +1165,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL example](examples/
11671165
11681166```
11691167Starting MQTTClient_SSL on ESP32_DEV with ETH_PHY_LAN8720
1170- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
1168+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
11711169ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11721170Waiting for NTP time sync: .
11731171Current time: Tue Jul 6 17:11:00 2021
@@ -1192,7 +1190,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL_Auth example](exam
11921190
11931191```
11941192Starting MQTTClient_SSL_Auth on ESP32_DEV with ETH_PHY_LAN8720
1195- WebServer_WT32_ETH01 v1.3 .0 for core v2.0.0+
1193+ WebServer_WT32_ETH01 v1.4 .0 for core v2.0.0+
11961194ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11971195Waiting for NTP time sync: .
11981196Current time: Tue Jul 6 18:05:14 2021
@@ -1250,6 +1248,7 @@ Submit issues to: [WebServer_WT32_ETH01 issues](https://github.com/khoih-prog/We
12501248 2 . Add SSL support
12511249 3 . Add HTTPS and MQTTS examples
12521250 4 . Support breaking ESP32 core v2.0.0+ as well as v1.0.6-
1251+ 5 . Auto detect ESP32 core v1.0.6- or v2.0.0+ to use correct settings
12531252
12541253---
12551254---
0 commit comments