[ethernet] add get_eth_handle() function (#14527)
This commit is contained in:
1 parent
64098122e7
commit
58ab630965
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user