Hi,
I would like to control my lan8720 phy regarding link speed (10 / 100 mbit) to save some power.
There ist this method in the mac struct to do that
https://docs.espressif.com/projects/esp ... set_speedE
but - how do I access this object from my program?
Set Ethernet Link Speed
-
- Posts: 211
- Joined: Fri May 07, 2021 10:35 am
Re: Set Ethernet Link Speed
Try to get Ethernet handler https://github.com/espressif/arduino-es ... ETH.h#L165
Once you have it perform:
Once you have it perform:
Code: Select all
eth_speed_t speed = ETH_SPEED_10M;
esp_eth_ioctl(eth_handle, ETH_CMD_S_SPEED, &speed);
-
- Posts: 828
- Joined: Mon Jul 22, 2019 3:20 pm
Re: Set Ethernet Link Speed
You should post this as a feature request on https://github.com/espressif/arduino-esp32/issues
Who is online
Users browsing this forum: Majestic-12 [Bot] and 137 guests