From 64dc2066c7e30bb041a0fdbcdca82bfa8e0638a8 Mon Sep 17 00:00:00 2001 From: filzek Date: Mon, 11 Nov 2024 15:54:55 -0300 Subject: [PATCH] Update esp_websocket_client.h Create a memory choice option to buffer and task, as well cpu core --- components/esp_websocket_client/include/esp_websocket_client.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_websocket_client/include/esp_websocket_client.h b/components/esp_websocket_client/include/esp_websocket_client.h index 15fb63b7ca..9c185038f0 100644 --- a/components/esp_websocket_client/include/esp_websocket_client.h +++ b/components/esp_websocket_client/include/esp_websocket_client.h @@ -131,6 +131,8 @@ typedef struct { size_t ping_interval_sec; /*!< Websocket ping interval, defaults to 10 seconds if not set */ struct ifreq *if_name; /*!< The name of interface for data to go through. Use the default interface without setting */ esp_transport_handle_t ext_transport; /*!< External WebSocket tcp_transport handle to the client; or if null, the client will create its own transport handle. */ + int memory_type; /*!< The name of memory region type to be used in the heap_caps_malloc / heap_caps_calloc */ + int core; /*!< The core number to use, if not set it will be set to tskNO_AFFINITY */ } esp_websocket_client_config_t; /**