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