We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi There !
On the ESP8266, if I was using static IP,GATEWAY, MASK and DNS addresses but wanted to go back into using DHCP, I issued the following line of code:
WiFi.config({ 0,0,0,0 }, { 0,0,0,0 }, { 0,0,0,0 });
... and thus, the ESP8266 was forced to get those values from DHCP.
Now, on ESP32, whenever that line of code is executed, I get the following error into my serial port:
E (2807) event: invalid static ip
... And the esp32 fails to get a Wifi Connection.
Probably there is a better way to accomplish "back to DHCP" on the ESP32, but just in case I wanted to place it as an issue.
Regards,
Enrique
The text was updated successfully, but these errors were encountered:
eb28213
Done :) can you please give this a go?
Sorry, something went wrong.
Thanks, me-no-dev, now it works perfectly ok!
Allow DHCP to be started again by giving a zero IP address to STA config
14609b4
Fixes: espressif/arduino-esp32#654
74a9e84
No branches or pull requests
Hi There !
On the ESP8266, if I was using static IP,GATEWAY, MASK and DNS addresses but wanted to go back into using DHCP, I issued the following line of code:
WiFi.config({ 0,0,0,0 }, { 0,0,0,0 }, { 0,0,0,0 });
... and thus, the ESP8266 was forced to get those values from DHCP.
Now, on ESP32, whenever that line of code is executed, I get the following error into my serial port:
E (2807) event: invalid static ip
... And the esp32 fails to get a Wifi Connection.
Probably there is a better way to accomplish "back to DHCP" on the ESP32, but just in case I wanted to place it as an issue.
Regards,
Enrique
The text was updated successfully, but these errors were encountered: