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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user