1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-07 06:01:35 +03:00

make WiFi/Ethernet interface compatible with Arduino Ethernet API (#8645)

* make WiFi/Ethernet interface compatible with Arduino Ethernet API
provide some minimaly adapted examples from legacy

* move ethernet compat globals to EthernetCompat.h

* LegacyEthernet: add UDP example

* adjust comments

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>
This commit is contained in:
david gauchard
2022-07-28 00:00:56 +02:00
committed by GitHub
parent 646bdfc060
commit ee7ac2f79d
7 changed files with 590 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public:
// ---- + --------- -------------
// local_ip | local_ip local_ip
// arg1 | gateway dns1
// arg2 | netmask [Agateway
// arg2 | netmask gateway
// arg3 | dns1 netmask
//
// result stored into gateway/netmask/dns1

View File

@ -104,7 +104,6 @@ public:
}
// ESP8266WiFi API compatibility
wl_status_t status();
protected: