Can someone help to clarify the usage of esp_wifi_clear_ap_list?

axellin
Posts: 200
Joined: Mon Sep 17, 2018 9:09 am

Can someone help to clarify the usage of esp_wifi_clear_ap_list?

Postby axellin » Mon Feb 13, 2023 5:08 am

This was asked by https://github.com/espressif/esp-idf/issues/10693 , but no response from espressif developers so far.

Given the fact esp_wifi_clear_ap_list() is not called in any esp-idf examples and components (e.g. wpa_supplicant),
I'm worried that there are memory leaks in current esp-idf versions.

Actually, I'm wondering why adding this esp_wifi_clear_ap_list() function?
Why not just free memory internally in case if obtained ap list fails. Confused.

axellin
Posts: 200
Joined: Mon Sep 17, 2018 9:09 am

Re: Can someone help to clarify the usage of esp_wifi_clear_ap_list?

Postby axellin » Tue Feb 28, 2023 2:35 am

Can someone from espressif help to clarify this API usage?

Who is online

Users browsing this forum: Google [Bot] and 77 guests