- (ESP_ERROR_CHECK(esp_eth_ioctl(eth_handle, ETH_CMD_S_AUTONEGO, &auto_nego_en));)
The device can work at 10Mbps or 100Mbps (depending on a setting).
The autonegotiation is always successful and sets the speed of the ESP32C6 always to 100Mbps because the connected device is capable of that speed, so the speed programmed in the ESP32C6 is sometimes not correct.
When the speed is not correct (ESP32C6 working at 100Mbps and the device at 10 Mbps) I have a latency of one second on average in the ping response.
How can I solve this problem?