mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 00:05:43 +00:00
Add Ethernet MAC address to ethernet_info (#6835)
This commit is contained in:
@@ -74,6 +74,10 @@ class EthernetComponent : public Component {
|
||||
network::IPAddress get_dns_address(uint8_t num);
|
||||
std::string get_use_address() const;
|
||||
void set_use_address(const std::string &use_address);
|
||||
void get_eth_mac_address_raw(uint8_t *mac);
|
||||
std::string get_eth_mac_address_pretty();
|
||||
eth_duplex_t get_duplex_mode();
|
||||
eth_speed_t get_link_speed();
|
||||
bool powerdown();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user