-->
Page 1 of 1

Drop back to DHCP from Static?

PostPosted: Fri Apr 15, 2016 8:33 am
by mattrix
Once you have done:

WiFi.config(ip, gateway, subnet)

how do you get back to DHCP mode?

I want to try a static address, but then fallback to DHCP if it doesn't connect.

Re: Drop back to DHCP from Static?

PostPosted: Fri Apr 15, 2016 9:27 am
by mattrix
I have ended up using the lower level function

wifi_station_dhcpc_start();

which seems to do what I need :)