I want to connect my ESP8266 to two different APs... on the first AP, the ESP8266 should have a static IP, but on the other AP it should be non-static.
But after the connection to the first AP with a static IP, and doing
Code: Select all
sta.disconnect() #from the first AP
sta.connect(<ESSID second AP>,<password second AP>)
How can I delete this static IP from the first connection to get a new non-static IP from the second connection?