My websocket function is slightly different (iterating over all connections), but previously malloced buffers in a different function are free-ed after completing:
static void http_ws_async_send(void *arg)
{
async_resp_arg_t *resp_arg = (async_resp_arg_t *)arg;
httpd_ws_frame_t ws_pkt = {};
ws ...
Search found 21 matches
- Fri Dec 19, 2025 9:23 am
- Forum: ESP-IDF
- Topic: Websocket Async Messages
- Replies: 12
- Views: 3256
- Thu Jul 24, 2025 9:35 am
- Forum: General Discussion
- Topic: Missing .vscode and .devcontainer Folders in ESP-IDF v5.5 Projects
- Replies: 1
- Views: 288
Re: Missing .vscode and .devcontainer Folders in ESP-IDF v5.5 Projects
To create the folders, I (using Codium on Ubuntu) do:
and start type esp-idf add and select the options for creating the .vscode directory and the docker configuration (when desired, as I don't often use the containerized way of working)
Code: Select all
ctrl-shift-p - Tue Jul 08, 2025 9:26 am
- Forum: General Discussion
- Topic: MQTT broker cert is expiring - best way to increase lifetime of new devices?
- Replies: 2
- Views: 217
Re: MQTT broker cert is expiring - best way to increase lifetime of new devices?
Absolutely not an expert at this, but maybe I'll throw in some words which can help you with searching for an answer :-)
My best guess would be, that you don't need to use the CA you mentioned, but use one of the newer CA's, as they are cross-signed by the one you mentioned.
You might want to ...
My best guess would be, that you don't need to use the CA you mentioned, but use one of the newer CA's, as they are cross-signed by the one you mentioned.
You might want to ...
- Thu Jun 26, 2025 11:18 am
- Forum: General Discussion
- Topic: ESP32.com forum: bugs, issues, requests?
- Replies: 26
- Views: 20079
Re: ESP32.com forum: bugs, issues, requests?
No problem, at least I now know to stop lookingSorry, the theme we use is pretty old and doesn't support dark mode. Adding it is still on the ToDo list, but don't expect much any time soon.
- Thu Jun 26, 2025 8:04 am
- Forum: General Discussion
- Topic: ESP32.com forum: bugs, issues, requests?
- Replies: 26
- Views: 20079
Re: ESP32.com forum: bugs, issues, requests?
Maybe I am looking in the wrong direction, but I can't find a setting to change the forum theme to a dark mode.
Is this hidden anyware? Or doesn't the forum support changing the colors?
Regards, Eric.
Is this hidden anyware? Or doesn't the forum support changing the colors?
Regards, Eric.
- Mon Jun 16, 2025 8:50 am
- Forum: ESP-IDF
- Topic: Discussion on the future of esp-idf-lib
- Replies: 0
- Views: 71
Discussion on the future of esp-idf-lib
Hi all,
Many of you probably know https://github.com/UncleRus/esp-idf-lib , a fantastic collection of sensor and peripheral drivers for ESP-IDF, originally maintained by UncleRus.
Unfortunately the original maintainer has gone silent. While the repo still sees some community contributions ...
Many of you probably know https://github.com/UncleRus/esp-idf-lib , a fantastic collection of sensor and peripheral drivers for ESP-IDF, originally maintained by UncleRus.
Unfortunately the original maintainer has gone silent. While the repo still sees some community contributions ...
- Thu Mar 27, 2025 7:11 am
- Forum: General Discussion
- Topic: how to make CMake structure for ESP-IDF components with separate include/src directories?
- Replies: 3
- Views: 792
Re: how to make CMake structure for ESP-IDF components with separate include/src directories?
This is working for me, a standard esp-idf C project, and few components.
Originally, the include files where located in the component directory (the headers for common_utils next to the sources in common_utils, the headers for snmp in the snmp directory), but to mimick your setup, I created an ...
Originally, the include files where located in the component directory (the headers for common_utils next to the sources in common_utils, the headers for snmp in the snmp directory), but to mimick your setup, I created an ...
- Mon Mar 10, 2025 6:46 pm
- Forum: General Discussion
- Topic: Undocumented backdoor found in ESP32
- Replies: 12
- Views: 14601
Re: Undocumented backdoor found in ESP32
The official response by Espressif.
- Sun Jun 16, 2024 11:23 am
- Forum: ESP-IDF
- Topic: Help needed for color display implementation
- Replies: 3
- Views: 1387
Re: Help needed for color display implementation
Or is the driver actually included in the lvgl 9.1? I just can not get it to compile....
When using one of those 'new' cheap-yellow-displays, I just use the native st7789 driver and lvgl 9.x
Add lvgl and the esp_lvgl_port to your idf_component.yml and you can add the display after ...
- Sun Jun 09, 2024 1:05 pm
- Forum: General Discussion
- Topic: Changing values that were been using in program from Webpage ( please ESP-IDF)
- Replies: 4
- Views: 2756
Re: Changing values that were been using in program from Webpage ( please ESP-IDF)
I usually use websockets (CONFIG_HTTPD_WS_SUPPORT=y), just register an uri handler for the index.html (HTTP_GET handler, is_websocket=false) and an uri handler to capture the websocket calls (is_websocket = true).
The embedded html page has some basic javascript basic to connect to the esp, using ...
The embedded html page has some basic javascript basic to connect to the esp, using ...