Ethernet::W5500Service Class Reference
Ethernet provider using W5500 SPI. More...
#include <W5500.h>
Inheritance diagram for Ethernet::W5500Service:
Collaboration diagram for Ethernet::W5500Service:
Public Member Functions | |
| W5500Service () | |
| bool | begin (const Config &config) |
Public Member Functions inherited from Ethernet::SpiService | |
| IdfService (PhyFactory &phyFactory) | |
Public Member Functions inherited from Ethernet::IdfService | |
| IdfService (PhyFactory &phyFactory) | |
| void | end () override |
| Tear down the ethernet connection. More... | |
| MacAddress | getMacAddress () const override |
| Get MAC address. More... | |
| bool | setMacAddress (const MacAddress &addr) override |
| Set MAC address. More... | |
| bool | setSpeed (Ethernet::Speed speed) override |
| Set speed of MAC. More... | |
| bool | setFullDuplex (bool enable) override |
| Set duplex mode of MAC. More... | |
| bool | setLinkState (bool up) override |
| Set link status of MAC. More... | |
| bool | setPromiscuous (bool enable) override |
| Set MAC promiscuous mode. More... | |
| void | setHostname (const String &hostname) override |
| Set DHCP hostname. More... | |
| String | getHostname () const override |
| Get DHCP hostname. More... | |
| IpAddress | getIP () const override |
| Get current IP address. More... | |
| bool | setIP (IpAddress address, IpAddress netmask, IpAddress gateway) override |
| Set static IP address. More... | |
| bool | isEnabledDHCP () const override |
| Determine if DHCP is active for this interface. More... | |
| bool | enableDHCP (bool enable) override |
| Enable/disable DHCP on this interface. More... | |
Public Member Functions inherited from Ethernet::Service | |
| void | onEvent (EventDelegate callback) |
| Set callback for ethernet events. More... | |
| void | onGotIp (GotIpDelegate callback) |
| Set callback for 'station connected with IP address' event. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ethernet::IdfService | |
| void | enableEventCallback (bool enable) |
| void | enableGotIpCallback (bool enable) |
Protected Attributes inherited from Ethernet::IdfService | |
| PhyFactory & | phyFactory |
| void * | handle {nullptr} |
| esp_netif_obj * | netif {nullptr} |
| void * | netif_glue {nullptr} |
| esp_eth_mac_s * | mac {nullptr} |
| esp_eth_phy_s * | phy {nullptr} |
| Event | state {Event::Disconnected} |
Protected Attributes inherited from Ethernet::Service | |
| EventDelegate | eventCallback |
| GotIpDelegate | gotIpCallback |
Detailed Description
Ethernet provider using W5500 SPI.
Constructor & Destructor Documentation
◆ W5500Service()
|
inline |
Member Function Documentation
◆ begin()
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.8.17