ESP-32 WiFi connection limit

a.r.akhmadullin
Posts: 1
Joined: Fri May 15, 2020 9:17 am

ESP-32 WiFi connection limit

Postby a.r.akhmadullin » Fri May 15, 2020 9:22 am

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?

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: ESP-32 WiFi connection limit

Postby PeterR » Sat May 16, 2020 1:12 pm

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.
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: No registered users and 117 guests