esp_wifi_set_inactive_time lost function

Efisio
Posts: 6
Joined: Fri Jul 03, 2020 7:39 am

esp_wifi_set_inactive_time lost function

Postby Efisio » Thu Sep 17, 2020 8:57 am

Hi

I'm working with WiFi and I'm trying to make a softAP to automatically disconnect from STA after some time of inactivity (which is ok since STAs are supposed to continuously send packets).

So I found on the API referece that esp_wifi_set_inactive_time can do the job but, big surprise, this function is not in esp_wifi.h (I'm using platformio, is that relevant?) and I couldn't find an example with this function.

Does anyone has any experience with it or can guide through my objective?

Thanks

Who is online

Users browsing this forum: No registered users and 101 guests