1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-07 00:04:36 +03:00

LwipIntfDev - legacy Ethernet API methods moved to EthernetCompat (#9133)

This commit is contained in:
Juraj Andrássy
2024-06-15 21:06:29 +02:00
committed by GitHub
parent 338b62577e
commit f741521abc
2 changed files with 18 additions and 15 deletions

View File

@@ -103,6 +103,21 @@ public:
return DHCP_CHECK_NONE;
}
void MACAddress(uint8_t* mac)
{
LwipIntfDev<RawDev>::macAddress(mac);
}
IPAddress dnsServerIP() const
{
return LwipIntfDev<RawDev>::dnsIP(0);
}
void setDnsServerIP(const IPAddress dnsIP)
{
LwipIntfDev<RawDev>::setDNS(dnsIP);
}
protected:
HardwareStatus _hardwareStatus;
};