Search found 197 matches

by axellin
Tue Feb 14, 2023 2:08 am
Forum: General Discussion
Topic: ESP RF Test tool and ESP32-C3 over USB
Replies: 5
Views: 3074

Re: ESP RF Test tool and ESP32-C3 over USB

Hi vm__dm, Currently the release binaries of the RF test tool do not support USB_SERIAL_JTAG. You may, however, request a customized version of the tool with USB support if you contact Espressif technical support directly. (The tool is not open source, and isn't available in the form of a library, ...
by axellin
Mon Feb 13, 2023 5:08 am
Forum: ESP-IDF
Topic: Can someone help to clarify the usage of esp_wifi_clear_ap_list?
Replies: 1
Views: 1097

Can someone help to clarify the usage of esp_wifi_clear_ap_list?

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 versi...
by axellin
Tue Jan 31, 2023 9:00 am
Forum: ESP-IDF
Topic: IDF V5.0 TCP Socket Client Memory Leak
Replies: 10
Views: 4330

Re: IDF V5.0 TCP Socket Client Memory Leak

Why IDF v4.4 does not has this issue? Is default setting of CONFIG_LWIP_SO_LINGER changed for v5.0? Because in IDF v4.4, the lwip core will auto-free the time-wait state TCP pcb when TCP pcb number over the max TCP pcb number in https://github.com/espressif/esp-lwip/blob/2749568fe15df2003f6c3f37f0d...
by axellin
Tue Jan 31, 2023 7:15 am
Forum: ESP-IDF
Topic: IDF V5.0 TCP Socket Client Memory Leak
Replies: 10
Views: 4330

Re: IDF V5.0 TCP Socket Client Memory Leak

It seems TCP enter in TIME-WAIT state, it neend about2 miniutes to free the resources. And SO_LINGER socket option you set not take effect. You need first enable CONFIG_LWIP_SO_LINGER by menuconfig. Why IDF v4.4 does not has this issue? Is default setting of CONFIG_LWIP_SO_LINGER changed for v5.0?
by axellin
Tue Jan 03, 2023 2:41 am
Forum: ESP32 Arduino
Topic: Saving SSID+passwd after WPS procedure.
Replies: 3
Views: 4532

Re: Saving SSID+passwd after WPS procedure.

or you can use this way: the SSID and password are stored in the config and given to esp_wifi_set_config, after WPS has finished, you can just use the getter function again by calling wifi_config_t config; esp_err_t err = esp_wifi_get_config(WIFI_IF_STA, &config); if (err == ESP_OK) { printf("SSID:...
by axellin
Fri Dec 23, 2022 9:50 am
Forum: ESP-IDF
Topic: Dynamic light sleep strange behaviour
Replies: 2
Views: 1010

Re: Dynamic light sleep strange behaviour

Can you create an issue on https://github.com/espressif/esp-idf/issues ?
Also please provide your esd-idf version (git describe --tags output), SoC/Module , and sdkconfig.
by axellin
Fri Dec 23, 2022 2:35 am
Forum: ESP-IDF
Topic: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?
Replies: 6
Views: 2715

Re: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?

Hi mbratch It seems the socket has run out. Some of the sockets enter TIME-WAIT state and can't be released immediately. You can enable enable_so_linger option in https://github.com/espressif/esp-idf/blob/v5.0/components/esp_http_server/include/esp_http_server.h#L190. It will release the sockets im...