Ethernet.h
uint16_t resetTimeout
Reset timeout value in milliseconds.
Definition: Ethernet.h:87
@ MBPS10
virtual bool enableDHCP(bool enable)=0
Enable/disable DHCP on this interface.
void onEvent(EventDelegate callback)
Set callback for ethernet events.
Definition: Ethernet.h:198
uint16_t autoNegTimeout
Auto-negotiation timeout in milliseconds.
Definition: Ethernet.h:88
virtual bool setMacAddress(const MacAddress &addr)=0
Set MAC address.
Virtual class used to construct a specific PHY instance.
Definition: Ethernet.h:97
@ MBPS100
void onGotIp(GotIpDelegate callback)
Set callback for 'station connected with IP address' event.
Definition: Ethernet.h:206
XX(tag, desc)
String toLongString(Ethernet::Event event)
constexpr int8_t PIN_DEFAULT
Use default pin for platform.
Definition: Ethernet.h:54
constexpr int8_t PHY_ADDR_AUTO
Automatically detect PHY address during initialization.
Definition: Ethernet.h:79
virtual bool setPromiscuous(bool enable)=0
Set MAC promiscuous mode.
void enable(Handler &commandHandler, HardwareSerial &serial)
virtual bool isEnabledDHCP() const =0
Determine if DHCP is active for this interface.
A class to make it easier to handle and pass around IP addresses.
Definition: IpAddress.h:44
String toString(Ethernet::Event event)
Definition: Dp83848.h:15
virtual bool setIP(IpAddress address, IpAddress netmask, IpAddress gateway)=0
Set static IP address.
virtual void destroy(PhyInstance *inst)=0
Called by the Service to destroy a PHY instance.
virtual PhyInstance * create(const PhyConfig &config)=0
Called by the Service to construct a PHY instance.