Ethernet::SpiService Class Reference

SPI ethernet provider. More...

#include <SpiService.h>

Inheritance diagram for Ethernet::SpiService:
Collaboration diagram for Ethernet::SpiService:

Classes

struct  Config
 

Public Member Functions

 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
PhyFactoryphyFactory
 
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

SPI ethernet provider.

Member Function Documentation

◆ IdfService()

Ethernet::IdfService::IdfService
inline

The documentation for this class was generated from the following file: