Page 1 of 1

ESP-32 WiFi connection limit

Posted: Fri May 15, 2020 9:22 am
by a.r.akhmadullin
Good afternoon!

Is it possible in ESP-32 to limit the number of WiFi connections to one? That is, only one client can connect to the ESP-32 AP. And if possible, is it possible to always issue the same IP address to the client, regardless of its mac address?

Re: ESP-32 WiFi connection limit

Posted: Sat May 16, 2020 1:12 pm
by PeterR
Yes & yes (it is software after all).

Suggest that you look at wifi_config_t & esp_wifi_set_config() for maximum stations.
Next you want the same IP address. Your best bet may be to limit the DHCP server's IP address range such that it only has one address.