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

Commit 1e14dc4

Browse files
authored
v1.2.1 to remove support to ESP8266
### Releases v1.2.1 1. Remove support to ESP8266 to use native [**ESP8266mDNS** library](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266mDNS)
1 parent dd0150f commit 1e14dc4

File tree

21 files changed

+97
-75
lines changed

21 files changed

+97
-75
lines changed

README.md

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![arduino-library-badge](https://www.ardu-badge.com/badge/MDNS_Generic.svg?)](https://www.ardu-badge.com/MDNS_Generic)
44
[![GitHub release](https://img.shields.io/github/release/khoih-prog/MDNS_Generic.svg)](https://github.com/khoih-prog/MDNS_Generic/releases)
5+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/MDNS_Generic/blob/master/LICENSE)
56
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
67
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/MDNS_Generic.svg)](http://github.com/khoih-prog/MDNS_Generic/issues)
78
[![star this repo](https://githubbadges.com/star.svg?user=khoih-prog&repo=MDNS_Generic)](https://github.com/khoih-prog/MDNS_Generic)
@@ -16,6 +17,7 @@
1617
* [Currently supported Boards](#currently-supported-boards)
1718
* [Currently supported Ethernet shields/modules](#currently-supported-ethernet-shieldsmodules)
1819
* [Changelog](#changelog)
20+
* [Releases v1.2.1](#releases-v121)
1921
* [Releases v1.2.0](#releases-v120)
2022
* [Releases v1.1.0](#releases-v110)
2123
* [Releases v1.0.1](#releases-v101)
@@ -107,7 +109,7 @@ The mDNS protocol, published as [RFC 6762](https://tools.ietf.org/html/rfc6762),
107109
mDNS can work in conjunction with DNS Service Discovery (DNS-SD), a companion zero-configuration networking technique specified separately in [RFC 6763](https://tools.ietf.org/html/rfc6763).
108110

109111

110-
This [**MDNS_Generic library**](https://github.com/khoih-prog/MDNS_Generic) is based on and modified from [**Dario Pennisi's ArduinoMDNS Library**](https://github.com/arduino-libraries/ArduinoMDNS) to provide support to many more boards, such as **Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, AVR Mega, RP2040-based boards, etc.** and enable those boards to use MDNS services. The currently supported modules/shield is **W5x00 using Ethernet, EthernetLarge, Ethernet2 or Ethernet3 library**.
112+
This [**MDNS_Generic library**](https://github.com/khoih-prog/MDNS_Generic) is based on and modified from [**Dario Pennisi's ArduinoMDNS Library**](https://github.com/arduino-libraries/ArduinoMDNS) to provide support to many more boards, such as **ESP32, Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, AVR Mega, RP2040-based boards, etc.** and enable those boards to use MDNS services. The currently supported modules/shield is **W5x00 using Ethernet, EthernetLarge, Ethernet2 or Ethernet3 library**.
111113

112114
- The **WiFiNINA modules/shields are currently supported from v1.2.0**, using [WiFiNINA_Generic Library](https://github.com/khoih-prog/WiFiNINA_Generic)
113115
- The **WiFi101 modules/shields are currently supported from v1.2.0**, using [WiFi101 Library](https://github.com/arduino-libraries/WiFi101)
@@ -121,7 +123,6 @@ This [**MDNS_Generic library**](https://github.com/khoih-prog/MDNS_Generic) is b
121123

122124
#### Currently Supported Boards
123125

124-
- **ESP8266**
125126
- **ESP32**
126127
- **AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, NINA_B302_ublox, NINA_B112_ublox etc.**.
127128
- **Arduino SAMD21 (ZERO, MKR, NANO_33_IOT, etc.)**.
@@ -148,14 +149,18 @@ This [**MDNS_Generic library**](https://github.com/khoih-prog/MDNS_Generic) is b
148149
1. WiFiNINA using [`WiFiNINA_Generic library`](https://github.com/khoih-prog/WiFiNINA_Generic)
149150
2. WiFi101 using [`WiFi101 library`](https://github.com/arduino-libraries/WiFi101)
150151
3. U-Blox W101, W102 using [`WiFiNINA_Generic library`](https://github.com/khoih-prog/WiFiNINA_Generic)
151-
4. ESP826-AT command using [`WiFiEspAT library`](https://github.com/jandrassy/WiFiEspAT)
152-
5. ESP8266/ESP32 using native WiFi
152+
4. ESP8266-AT command using [`WiFiEspAT library`](https://github.com/jandrassy/WiFiEspAT)
153+
5. ESP32 using native WiFi
153154

154155
---
155156
---
156157

157158
## Changelog
158159

160+
### Releases v1.2.1
161+
162+
1. Remove support to ESP8266 to use native [**ESP8266mDNS** library](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266mDNS)
163+
159164
### Releases v1.2.0
160165

161166
1. Add support to RP2040-based boards, such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) using WiFi / [WiFiNINA_Generic Library](https://github.com/khoih-prog/WiFiNINA_Generic)
@@ -213,20 +218,19 @@ This [**MDNS_Generic library**](https://github.com/khoih-prog/MDNS_Generic) is b
213218
9. [`Arduino mbed_rp2040 core 2.4.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
214219
10. [`Earle Philhower's arduino-pico core v1.9.4+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
215220
11. [`Arduino Core for STM32 v2.0.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/stm32duino/Arduino_Core_STM32.svg)](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest)
216-
12. [`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/)
217-
13. [`ESP32 Core 2.0.0+`](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/)
221+
12. [`ESP32 Core 2.0.0+`](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/)
218222

219-
14. Depending on which Ethernet module/shield you're using :
223+
13. Depending on which Ethernet module/shield you're using :
220224
- [`Ethernet library v2.0.0+`](https://github.com/arduino-libraries/Ethernet) for W5100, W5200 and W5500. [![GitHub release](https://img.shields.io/github/release/arduino-libraries/Ethernet.svg)](https://github.com/arduino-libraries/Ethernet/releases/latest)
221225
- [`EthernetLarge library v2.0.0+`](https://github.com/OPEnSLab-OSU/EthernetLarge) for W5100, W5200 and W5500.
222226
- [`Ethernet2 library v1.0.4+`](https://github.com/khoih-prog/Ethernet2) for W5500. [![GitHub release](https://img.shields.io/github/release/adafruit/Ethernet2.svg)](https://github.com/adafruit/Ethernet2/releases/latest)
223227
- [`Ethernet3 library v1.5.5+`](https://github.com/sstaub/Ethernet3) for W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [![GitHub release](https://img.shields.io/github/release/sstaub/Ethernet3.svg)](https://github.com/sstaub/Ethernet3/releases/latest)
224228

225-
15. [`STM32Ethernet library v1.2.0+`](https://github.com/stm32duino/STM32Ethernet) for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). [![GitHub release](https://img.shields.io/github/release/stm32duino/STM32Ethernet.svg)](https://github.com/stm32duino/STM32Ethernet/releases/latest). To be used with [`LwIP library v2.1.2+`](https://github.com/stm32duino/LwIP). [![GitHub release](https://img.shields.io/github/release/stm32duino/LwIP.svg)](https://github.com/stm32duino/LwIP/releases/latest). **Not yet ready** in v1.2.0.
229+
14. [`STM32Ethernet library v1.2.0+`](https://github.com/stm32duino/STM32Ethernet) for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). [![GitHub release](https://img.shields.io/github/release/stm32duino/STM32Ethernet.svg)](https://github.com/stm32duino/STM32Ethernet/releases/latest). To be used with [`LwIP library v2.1.2+`](https://github.com/stm32duino/LwIP). [![GitHub release](https://img.shields.io/github/release/stm32duino/LwIP.svg)](https://github.com/stm32duino/LwIP/releases/latest). **Not yet ready** in v1.2.0.
226230

227-
16. [`WiFiNINA_Generic library v1.8.13+`](https://github.com/khoih-prog/WiFiNINA_Generic). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic) if using WiFiNINA for boards such as Nano 33 IoT, nRF52, Teensy, etc. **Ready** from v1.2.0.
228-
17. [`WiFi101 library v0.16.1+`](https://github.com/arduino-libraries/WiFi101) if using WINC1500/WiFi101 shields (MKR1000, MKR1010, etc.). [![GitHub release](https://img.shields.io/github/release/arduino-libraries/WiFi101.svg)](https://github.com/arduino-libraries/WiFi101/releases/latest)
229-
18. [`WiFiEspAT library v1.3.1+`](https://github.com/jandrassy/WiFiEspAT) if using ESP8288/ESP32-AT shields. [![GitHub release](https://img.shields.io/github/release/jandrassy/WiFiEspAT.svg)](https://github.com/jandrassy/WiFiEspAT/releases/latest)
231+
15. [`WiFiNINA_Generic library v1.8.13+`](https://github.com/khoih-prog/WiFiNINA_Generic). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic) if using WiFiNINA for boards such as Nano 33 IoT, nRF52, Teensy, etc. **Ready** from v1.2.0.
232+
16. [`WiFi101 library v0.16.1+`](https://github.com/arduino-libraries/WiFi101) if using WINC1500/WiFi101 shields (MKR1000, MKR1010, etc.). [![GitHub release](https://img.shields.io/github/release/arduino-libraries/WiFi101.svg)](https://github.com/arduino-libraries/WiFi101/releases/latest)
233+
17. [`WiFiEspAT library v1.3.1+`](https://github.com/jandrassy/WiFiEspAT) if using ESP8288/ESP32-AT shields. [![GitHub release](https://img.shields.io/github/release/jandrassy/WiFiEspAT.svg)](https://github.com/jandrassy/WiFiEspAT/releases/latest)
230234

231235
---
232236
---
@@ -457,7 +461,7 @@ With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add
457461

458462
#### 1. For application requiring 2K+ HTML page
459463

460-
If your application requires 2K+ HTML page, the current [`Ethernet library`](https://www.arduino.cc/en/Reference/Ethernet) must be modified if you are using W5200/W5500 Ethernet shields. W5100 is not supported for 2K+ buffer. If you use boards requiring different CS/SS pin for W5x00 Ethernet shield, for example ESP32, ESP8266, nRF52, etc., you also have to modify the following libraries to be able to specify the CS/SS pin correctly.
464+
If your application requires 2K+ HTML page, the current [`Ethernet library`](https://www.arduino.cc/en/Reference/Ethernet) must be modified if you are using W5200/W5500 Ethernet shields. W5100 is not supported for 2K+ buffer. If you use boards requiring different CS/SS pin for W5x00 Ethernet shield, for example ESP32, nRF52, etc., you also have to modify the following libraries to be able to specify the CS/SS pin correctly.
461465

462466
#### 2. For Ethernet library
463467

@@ -1207,7 +1211,7 @@ This is terminal debug output when running [ResolvingHostNames](examples/Etherne
12071211

12081212
```
12091213
Starting ResolvingHostNames on NRF52840_FEATHER with W5x00 using Ethernet2 Library
1210-
MDNS_Generic v1.2.0
1214+
MDNS_Generic v1.2.1
12111215
=========================
12121216
Default SPI pinout:
12131217
MOSI:11
@@ -1243,7 +1247,7 @@ This is terminal debug output when running [DiscoveringServices](examples/Ethern
12431247

12441248
```
12451249
Starting DiscoveringServices on NRF52840_FEATHER with W5x00 using EthernetLarge Library
1246-
MDNS_Generic v1.2.0
1250+
MDNS_Generic v1.2.1
12471251
=========================
12481252
Default SPI pinout:
12491253
MOSI:25
@@ -1284,7 +1288,7 @@ This is terminal debug output when running [ResolvingHostNames](examples/Etherne
12841288

12851289
```
12861290
Starting ResolvingHostNames on SEEED_XIAO_M0 with W5x00 using EthernetLarge Library
1287-
MDNS_Generic v1.2.0
1291+
MDNS_Generic v1.2.1
12881292
=========================
12891293
Default SPI pinout:
12901294
MOSI:10
@@ -1323,7 +1327,7 @@ This is terminal debug output when running [DiscoveringServices](examples/Ethern
13231327

13241328
```
13251329
Starting DiscoveringServices on NUCLEO_F767ZI with W5x00 using Ethernet2 Library
1326-
MDNS_Generic v1.2.0
1330+
MDNS_Generic v1.2.1
13271331
=========================
13281332
Default SPI pinout:
13291333
MOSI:11
@@ -1359,7 +1363,7 @@ This is terminal debug output when running [ResolvingHostNames](examples/Etherne
13591363

13601364
```
13611365
Starting ResolvingHostNames on NUCLEO_F767ZI with W5x00 using Ethernet2 Library
1362-
MDNS_Generic v1.2.0
1366+
MDNS_Generic v1.2.1
13631367
=========================
13641368
Default SPI pinout:
13651369
MOSI:11
@@ -1395,7 +1399,7 @@ This is terminal debug output when running [ResolvingHostNames](examples/Etherne
13951399

13961400
```
13971401
Starting ResolvingHostNames on RASPBERRY_PI_PICO with W5x00 using EthernetLarge Library
1398-
MDNS_Generic v1.2.0
1402+
MDNS_Generic v1.2.1
13991403
=========================
14001404
Default SPI pinout:
14011405
MOSI:19
@@ -1434,7 +1438,7 @@ This is terminal debug output when running [DiscoveringServices](examples/Ethern
14341438

14351439
```
14361440
Start DiscoveringServices on MBED RASPBERRY_PI_PICO using W5x00 using EthernetLarge Library
1437-
MDNS_Generic v1.2.0
1441+
MDNS_Generic v1.2.1
14381442
=========================
14391443
Default SPI pinout:
14401444
MOSI:3
@@ -1472,7 +1476,7 @@ This is terminal debug output when running [WiFiRegisteringServices](examples/Wi
14721476

14731477
```
14741478
Start WiFiRegisteringServices on MBED NANO_RP2040_CONNECT
1475-
MDNS_Generic v1.2.0
1479+
MDNS_Generic v1.2.1
14761480
Used/default SPI pinout:
14771481
MOSI:11
14781482
MISO:12
@@ -1513,7 +1517,7 @@ This is terminal debug output when running [WiFiRegisteringServices](examples/Wi
15131517

15141518
```
15151519
Start WiFiRegisteringServices on ESP32_DEV
1516-
MDNS_Generic v1.2.0
1520+
MDNS_Generic v1.2.1
15171521
Attempting to connect to SSID: HueNet1
15181522
SSID: HueNet1
15191523
Local IP address: 192.168.2.80
@@ -1574,6 +1578,10 @@ Sometimes, the library will only work if you update the core to the newer or old
15741578

15751579
## Releases
15761580

1581+
### Releases v1.2.1
1582+
1583+
1. Remove support to ESP8266 to use native [**ESP8266mDNS** library](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266mDNS)
1584+
15771585
### Releases v1.2.0
15781586

15791587
1. Add support to RP2040-based boards, such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) using WiFi / [WiFiNINA_Generic Library](https://github.com/khoih-prog/WiFiNINA_Generic)
@@ -1652,7 +1660,7 @@ Submit issues to: [**MDNS_Generic issues**](https://github.com/khoih-prog/MDNS_G
16521660
13. Add Version String and Table of Contents
16531661
14. Add support to RP2040-based boards, such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) using WiFi / [WiFiNINA_Generic Library](https://github.com/khoih-prog/WiFiNINA_Generic)
16541662
15. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico) using WiFi / [WiFiNINA_Generic Library](https://github.com/khoih-prog/WiFiNINA_Generic)
1655-
16. Add support to ESP32 and ESP8266 boards using native ESP WiFi
1663+
16. Add support to ESP32 boards using native ESP WiFi
16561664
17. Add support to Generic boards, such as **MKR WiFi1010**, using [WiFi101 Library](https://github.com/arduino-libraries/WiFi101)
16571665

16581666
---

examples/Ethernet/DiscoveringServices/DiscoveringServices.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
You should have received a copy of the GNU Lesser General Public License along with EthernetBonjour.
2121
If not, see <http://www.gnu.org/licenses/>.
2222
23-
Version: 1.2.0
23+
Version: 1.2.1
2424
2525
Version Modified By Date Comments
2626
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.0.1 K Hoang 02/10/2020 Add support to W5x00 using Ethernet2, Ethernet3 libraries
3030
1.1.0 K Hoang 12/06/2021 Add support to RP2040-based boards
3131
1.2.0 K Hoang 01/09/2021 Add support to generic boards using WiFi or WiFiNINA
32+
1.2.1 K Hoang 02/09/2021 Remove support to ESP8266 to use native ESP8266mDNS library
3233
*****************************************************************************************************************************/
3334
//
3435

examples/Ethernet/RegisteringServices/RegisteringServices.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
You should have received a copy of the GNU Lesser General Public License along with EthernetBonjour.
2121
If not, see <http://www.gnu.org/licenses/>.
2222
23-
Version: 1.2.0
23+
Version: 1.2.1
2424
2525
Version Modified By Date Comments
2626
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.0.1 K Hoang 02/10/2020 Add support to W5x00 using Ethernet2, Ethernet3 libraries
3030
1.1.0 K Hoang 12/06/2021 Add support to RP2040-based boards
3131
1.2.0 K Hoang 01/09/2021 Add support to generic boards using WiFi or WiFiNINA
32+
1.2.1 K Hoang 02/09/2021 Remove support to ESP8266 to use native ESP8266mDNS library
3233
*****************************************************************************************************************************/
3334

3435
// Illustrates how to register a Bonjour service.

examples/Ethernet/RegisteringServicesWithTxtRecord/RegisteringServicesWithTxtRecord.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
You should have received a copy of the GNU Lesser General Public License along with EthernetBonjour.
2121
If not, see <http://www.gnu.org/licenses/>.
2222
23-
Version: 1.2.0
23+
Version: 1.2.1
2424
2525
Version Modified By Date Comments
2626
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.0.1 K Hoang 02/10/2020 Add support to W5x00 using Ethernet2, Ethernet3 libraries
3030
1.1.0 K Hoang 12/06/2021 Add support to RP2040-based boards
3131
1.2.0 K Hoang 01/09/2021 Add support to generic boards using WiFi or WiFiNINA
32+
1.2.1 K Hoang 02/09/2021 Remove support to ESP8266 to use native ESP8266mDNS library
3233
*****************************************************************************************************************************/
3334
// Illustrates how to register a service with a TXT record.
3435

examples/Ethernet/ResolvingHostNames/ResolvingHostNames.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
You should have received a copy of the GNU Lesser General Public License along with EthernetBonjour.
2121
If not, see <http://www.gnu.org/licenses/>.
2222
23-
Version: 1.2.0
23+
Version: 1.2.1
2424
2525
Version Modified By Date Comments
2626
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.0.1 K Hoang 02/10/2020 Add support to W5x00 using Ethernet2, Ethernet3 libraries
3030
1.1.0 K Hoang 12/06/2021 Add support to RP2040-based boards
3131
1.2.0 K Hoang 01/09/2021 Add support to generic boards using WiFi or WiFiNINA
32+
1.2.1 K Hoang 02/09/2021 Remove support to ESP8266 to use native ESP8266mDNS library
3233
*****************************************************************************************************************************/
3334

3435
// Illustrates how to resolve host names via MDNS (Multicast DNS)

examples/WiFi/WiFiDiscoveringServices/WiFiDiscoveringServices.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
You should have received a copy of the GNU Lesser General Public License along with EthernetBonjour.
2121
If not, see <http://www.gnu.org/licenses/>.
2222
23-
Version: 1.2.0
23+
Version: 1.2.1
2424
2525
Version Modified By Date Comments
2626
------- ----------- ---------- -----------
@@ -29,14 +29,15 @@
2929
1.0.1 K Hoang 02/10/2020 Add support to W5x00 using Ethernet2, Ethernet3 libraries
3030
1.1.0 K Hoang 12/06/2021 Add support to RP2040-based boards
3131
1.2.0 K Hoang 01/09/2021 Add support to generic boards using WiFi or WiFiNINA
32+
1.2.1 K Hoang 02/09/2021 Remove support to ESP8266 to use native ESP8266mDNS library
3233
*****************************************************************************************************************************/
3334

3435
// Illustrates how to discover Bonjour services on your network.
3536

3637
#include "defines.h"
3738
#include "arduino_secrets.h"
3839

39-
#if defined(ESP32) || defined(ESP8266)
40+
#if defined(ESP32)
4041

4142
#define WIFI_NETWORK_WIFININA false
4243
#define WIFI_NETWORK_WIFI101 false
@@ -46,6 +47,7 @@
4647
String hostname = "ESP_" + String(ESP_getChipId(), HEX);
4748

4849
#else
50+
4951
// Select one to be true, but WIFI_NETWORK_ESP
5052
#define WIFI_NETWORK_WIFININA true
5153
#define WIFI_NETWORK_WIFI101 false
@@ -82,6 +84,7 @@
8284
#elif WIFI_NETWORK_ESP
8385
#include <WiFi.h>
8486
#include <WiFiUdp.h>
87+
8588
#warning WIFI_NETWORK_TYPE == NETWORK_WIFI_ESP
8689
WiFiUDP udp;
8790
WiFiServer server(80);

0 commit comments

Comments
 (0)