-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ETH.end clears static IP config #9674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I really think it's up to the application to decide what to store and what not to store. In majority of cases, the app already has the IPs stored, so why not just call |
For me it is more logical as it is currently. When doing |
|
esp32 is very different in many aspects, no need to be compatible to anything existing in the world. Such stuff bloats and increases the core unnecessary. |
yes but maybe this issue will be solved with the solution for #9673 |
@JAndrassy begin then config makes total sense. The fact that it works the other way round for WiFi is just luck, because we can init the WiFi netifs earlier (no pin configs or anything else necessary). That is not the case for ETH, as we need to know what ETH, which pins and so on. As for saving the IP, I already talked about that. It's unnecessary complicating the network libraries and diverging ETH from the rest of the interfaces. Just call to |
#9673 is the important one |
Board
Esp32 Dev module
Device Description
Espressif Dev module
Hardware Configuration
Wiz850io wired on default SPI pins
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Linux
Flash frequency
40
PSRAM enabled
yes
Upload speed
any
Description
In other Ethernet libraries with
config
method (esp8266 and RP2040 core),end
doesn't clear the static IP configuration set byconfig
and In WiFi librariesdisconnect
doesn't clear the static IP configuration.Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: