esp_wifi_set_inactive_time lost function
Posted: 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
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