DHCP Release API

kostyan5
Posts: 50
Joined: Mon Mar 06, 2017 3:16 pm

DHCP Release API

Postby kostyan5 » Tue Aug 28, 2018 10:48 pm

Hi,

Is there a way to have ESP32 client send "DHCP release" to the access point?

In our use case, we may have hundreds of devices all connecting to the same access point for a few seconds every half hour. Currently, first 254 to connect get IPs and default DHCP lease time is 24 hours. This means that all other devices are unable to connect until DHCP lease expires and then it's a race again. We would like to have ESP32 request DHCP release upon completion of its wake cycle.

Thanks,

Konstantin

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: DHCP Release API

Postby WiFive » Tue Aug 28, 2018 11:15 pm

tcpip_adapter_stop

kostyan5
Posts: 50
Joined: Mon Mar 06, 2017 3:16 pm

Re: DHCP Release API

Postby kostyan5 » Tue Aug 28, 2018 11:36 pm

WiFive wrote:tcpip_adapter_stop
Thank you!

Who is online

Users browsing this forum: No registered users and 216 guests