ESP-IDF
base_node_add_handler()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
base_node_add_handler()
base_node_add_handler() function
Syntax
Show:
Summary
Declaration
from
esp_event.c:198
static
esp_err_t
base_node_add_handler
(
esp_event_base_node_t
*
base_node
,
int32_t
id
,
esp_event_handler_t
event_handler
,
void
*
event_handler_arg
,
esp_event_handler_instance_context_t
*
*
handler_ctx
,
bool
legacy
)
;
Arguments
Argument
Declared as
base_node
esp_event_base_node_t
*
id
int32_t
event_handler
esp_event_handler_t
event_handler_arg
void
*
handler_ctx
esp_event_handler_instance_context_t
*
*
legacy
bool
Related Functions
Found 2 other functions taking a
esp_event_base_node
argument:
Function
base_node_remove_handler()
base_node_remove_all_handler()
Examples
References
from
examples
Code
Location
Referrer
static
esp_err_t
base_node_add_handler
(
esp_event_base_node_t
*
base_node
,
esp_event.c:198
err
=
base_node_add_handler
(
base_node
,
id
,
event_handler
,
event_handler_arg
,
handler_ctx
,
legacy
)
;
esp_event.c:286
loop_node_add_handler()
return
base_node_add_handler
(
base_node
,
id
,
event_handler
,
event_handler_arg
,
handler_ctx
,
legacy
)
;
esp_event.c:300
loop_node_add_handler()
Call Tree
from
examples
base_node_add_handler()
is called by 1 function and calls 5 functions:
loop_node_add_handler()
All items filtered out
base_node_add_handler()
free()
calloc()
esp_log_timestamp()
esp_log_write()
handler_instances_add()
All items filtered out
Data Use
from
examples
base_node_add_handler()
reads 11 variables and writes 1 variable:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
esp_event_id_node::id
esp_event_id_node::handlers
esp_event_id_node::next
esp_event_base_node::handlers
esp_event_base_node::id_nodes
TAG
All items filtered out
base_node_add_handler()
esp_event_id_node::id
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
base_node_add_handler()
allocates 1 types and frees 1 types:
esp_event_id_node
All items filtered out
base_node_add_handler()
esp_event_id_node
All items filtered out