@@ -106,8 +106,9 @@ It's really strange to define a breaking enum `arduino_event_id_t` in [**WiFiGen
106
106
107
107
It's better to preserve the old enum order and just adding new items ** to do no harm to pre-2.0.0 codes**
108
108
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**
111
112
112
113
To use with core v1.0.6-, just define in your sketch
113
114
@@ -149,8 +150,8 @@ This [**WebServer_WT32_ETH01** library](https://github.com/khoih-prog/WebServer_
149
150
## Prerequisites
150
151
151
152
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/ )
154
155
155
156
---
156
157
---
@@ -438,9 +439,6 @@ Example:
438
439
// Debug Level from 0 to 4
439
440
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
440
441
441
- // Uncomment to use ESP32 core v1.0.6-
442
- // #define USING_CORE_ESP32_CORE_V200_PLUS false
443
-
444
442
#include < WebServer_WT32_ETH01.h>
445
443
446
444
WebServer server (80);
@@ -674,7 +672,7 @@ The following are debug terminal output and screen shot when running example [Ad
674
672
675
673
```
676
674
Starting 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+
678
676
679
677
ETH Started
680
678
ETH Connected
@@ -692,7 +690,7 @@ The terminal output of **WT32_ETH01** running [ESP32_FS_EthernetWebServer](examp
692
690
693
691
```cpp
694
692
Starting 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+
696
694
697
695
ETH Started
698
696
ETH Connected
@@ -742,7 +740,7 @@ The terminal output of **WT32_ETH01** running [MQTT_ThingStream example](example
742
740
743
741
```
744
742
Starting 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+
746
744
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
747
745
***************************************
748
746
esp32-sniffer/12345678/ble
@@ -766,7 +764,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_Auth example](examples
766
764
767
765
```
768
766
Starting 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+
770
768
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
771
769
Attempting MQTT connection to broker.emqx.io...connected
772
770
Message 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
783
781
784
782
```
785
783
Starting 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+
787
785
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
788
786
Attempting MQTT connection to broker.emqx.io...connected
789
787
Message 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
803
801
804
802
```
805
803
Starting 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+
807
805
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
808
806
809
807
Starting connection to server...
@@ -871,7 +869,7 @@ The terminal output of **WT32_ETH01** running [UdpNTPClient example](examples/Ud
871
869
872
870
```
873
871
Starting 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+
875
873
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
876
874
UDP Packet received, size 48
877
875
From 132.163.97.1, port 123
@@ -900,7 +898,7 @@ The terminal output of **WT32_ETH01** running [BasicHttpClient example](examples
900
898
901
899
```
902
900
Starting 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+
904
902
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
905
903
[HTTP] begin...
906
904
[HTTP] GET...
@@ -962,7 +960,7 @@ The terminal output of **WT32_ETH01** running [BasicHttpsClient example](example
962
960
963
961
```
964
962
Starting 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+
966
964
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
967
965
Waiting for NTP time sync: .
968
966
Current time: Tue Jul 6 05:29:39 2021
@@ -1007,7 +1005,7 @@ The terminal output of **WT32_ETH01** running [WebClientMulti_SSL example](examp
1007
1005
1008
1006
```
1009
1007
Starting 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+
1011
1009
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
1012
1010
Waiting for NTP time sync: .
1013
1011
Current time: Tue Jul 6 19:58:27 2021
@@ -1121,7 +1119,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL_Complex example](e
1121
1119
1122
1120
```
1123
1121
Starting 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+
1125
1123
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
1126
1124
Waiting for NTP time sync: .
1127
1125
Current time: Tue Jul 6 18:14:02 2021
@@ -1141,7 +1139,7 @@ The terminal output of **WT32_ETH01** running [MQTTS_ThingStream example](exampl
1141
1139
1142
1140
```
1143
1141
Starting 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+
1145
1143
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
1146
1144
Waiting for NTP time sync: .
1147
1145
Current time: Tue Jul 6 18:38:22 2021
@@ -1167,7 +1165,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL example](examples/
1167
1165
1168
1166
```
1169
1167
Starting 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+
1171
1169
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
1172
1170
Waiting for NTP time sync: .
1173
1171
Current time: Tue Jul 6 17:11:00 2021
@@ -1192,7 +1190,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL_Auth example](exam
1192
1190
1193
1191
```
1194
1192
Starting 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+
1196
1194
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
1197
1195
Waiting for NTP time sync: .
1198
1196
Current 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
1250
1248
2 . Add SSL support
1251
1249
3 . Add HTTPS and MQTTS examples
1252
1250
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
1253
1252
1254
1253
---
1255
1254
---
0 commit comments