Closed bluestar714 closed 10 months ago
Do you mean that "turning off the wifi_router" refers to restarting the wifi_router device? If the wifi_router device is restarted, the protocol stack will not retain the previously assigned IP addresses for the corresponding devices.
Thank you very much.
Do you mean that "turning off the wifi_router" refers to restarting the wifi_router device?
Yes, it is. I mean device reboot. I was expecting a fixed IP address to be assigned to each client with a fixed lease time, similar to a typical WiFi router.
I am using wifi_router example. I have several client devices connected to wifi_router softap. When I reboot wifi_router, the client devices are rebooted, but they seem to be assigned different IP addresses than before.
I have the following settings in sdkconfig, but it appears that when I turn off the wifi_router, the IP address configuration information is also lost.
Are there any other settings I need to make?
esp-idf is using nvs, so I think I'm storing data in a non-volatile place.