Skip to content

Commit

Permalink
Update esp_websocket_client.h
Browse files Browse the repository at this point in the history
Create a memory choice option to buffer and task, as well cpu core
  • Loading branch information
filzek authored Nov 11, 2024
1 parent 67191f3 commit 64dc206
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit 64dc206

Please sign in to comment.