[ethernet] add get_eth_handle() function (#14527)

This commit is contained in:
Gnuspice
2026-03-06 12:37:07 +13:00
committed by GitHub
parent 64098122e7
commit 58ab630965

View File

@@ -115,6 +115,7 @@ class EthernetComponent : public Component {
const char *get_eth_mac_address_pretty_into_buffer(std::span<char, MAC_ADDRESS_PRETTY_BUFFER_SIZE> buf);
eth_duplex_t get_duplex_mode();
eth_speed_t get_link_speed();
esp_eth_handle_t get_eth_handle() const { return this->eth_handle_; }
bool powerdown();
#ifdef USE_ETHERNET_IP_STATE_LISTENERS