custom_outbox sample
mqtt_event_handler()
is only used within custom_outbox sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
custom_outbox sample
mqtt_event_handler()
mqtt_event_handler() function
Syntax
Show:
Summary
Declaration
from
app_main.c:48
static
void
mqtt_event_handler
(
void
*
handler_args
,
esp_event_base_t
base
,
int32_t
event_id
,
void
*
event_data
)
;
Arguments
Argument
handler_args
base
event_id
event_data
Examples
References
from
examples
Code
Location
Referrer
static
void
mqtt_event_handler
(
void
*
handler_args
,
esp_event_base_t
base
,
int32_t
event_id
,
void
*
event_data
)
app_main.c:48
esp_mqtt_client_register_event
(
client
,
ESP_EVENT_ANY_ID
,
mqtt_event_handler
,
NULL
)
;
app_main.c:135
mqtt_app_start()
Call Tree
from
examples
mqtt_event_handler()
calls 5 functions:
All items filtered out
mqtt_event_handler()
esp_log_timestamp()
esp_log_write()
log_error_if_nonzero()
esp_mqtt_client_subscribe_single()
esp_mqtt_client_publish()
All items filtered out
Data Use
from
examples
mqtt_event_handler()
reads 28 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_mqtt_event_id_t::MQTT_EVENT_ERROR
esp_mqtt_event_id_t::MQTT_EVENT_CONNECTED
esp_mqtt_event_id_t::MQTT_EVENT_DISCONNECTED
esp_mqtt_event_id_t::MQTT_EVENT_SUBSCRIBED
esp_mqtt_event_id_t::MQTT_EVENT_UNSUBSCRIBED
esp_mqtt_event_id_t::MQTT_EVENT_PUBLISHED
esp_mqtt_event_id_t::MQTT_EVENT_DATA
esp_mqtt_error_type_t::MQTT_ERROR_TYPE_TCP_TRANSPORT
esp_mqtt_error_codes::esp_tls_last_esp_err
esp_mqtt_error_codes::esp_tls_stack_err
esp_mqtt_error_codes::error_type
esp_mqtt_error_codes::esp_transport_sock_errno
esp_mqtt_event_t::event_id
esp_mqtt_event_t::client
esp_mqtt_event_t::data
esp_mqtt_event_t::data_len
esp_mqtt_event_t::topic
esp_mqtt_event_t::topic_len
esp_mqtt_event_t::msg_id
esp_mqtt_event_t::error_handle
TAG
esp_mqtt_client_subscribe_single()
esp_mqtt_client_subscribe_multiple()
All items filtered out
mqtt_event_handler()
mqtt_app_start()
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
All items filtered out
All items filtered out