53 esp_eth_mac_s*
mac{
nullptr};
54 esp_eth_phy_s*
phy{
nullptr};
A class to make it easier to handle and pass around IP addresses.
Definition: IpAddress.h:44
esp_eth_mac_s * mac
Definition: IdfService.h:53
PhyFactory & phyFactory
Definition: IdfService.h:49
esp_netif_obj * netif
Definition: IdfService.h:51
bool setIP(IpAddress address, IpAddress netmask, IpAddress gateway) override
Set static IP address.
esp_eth_phy_s * phy
Definition: IdfService.h:54
Base Ethernet service for IDF SDK.
Definition: IdfService.h:24
String getHostname() const override
Get DHCP hostname.
bool isEnabledDHCP() const override
Determine if DHCP is active for this interface.
bool setLinkState(bool up) override
Set link status of MAC.
IdfService(PhyFactory &phyFactory)
Definition: IdfService.h:27
The String class.
Definition: WString.h:136
IpAddress getIP() const override
Get current IP address.
bool setPromiscuous(bool enable) override
Set MAC promiscuous mode.
A network hardware (MAC) address.
Definition: MacAddress.h:38
Abstract Service class.
Definition: Ethernet.h:127
Speed
Link speed.
Definition: Ethernet.h:66
MacAddress getMacAddress() const override
Get MAC address.
void * netif_glue
Definition: IdfService.h:52
bool enableDHCP(bool enable) override
Enable/disable DHCP on this interface.
bool setMacAddress(const MacAddress &addr) override
Set MAC address.
bool setSpeed(Ethernet::Speed speed) override
Set speed of MAC.
void setHostname(const String &hostname) override
Set DHCP hostname.
Virtual class used to construct a specific PHY instance.
Definition: Ethernet.h:97
void * handle
Definition: IdfService.h:50
Event
Ethernet event codes.
Definition: Ethernet.h:34
void end() override
Tear down the ethernet connection.
bool setFullDuplex(bool enable) override
Set duplex mode of MAC.
void enableGotIpCallback(bool enable)
Event state
Definition: IdfService.h:55
void enableEventCallback(bool enable)