mqtt5 sample
TAG
is only used within mqtt5 sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mqtt5 sample
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
app_main.c:19
static
const
char
*
TAG
=
"mqtt5_example"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"mqtt5_example"
;
app_main.c:19
ESP_LOGE
(
TAG
,
"Last error %s: 0x%x"
,
message
,
error_code
)
;
app_main.c:24
log_error_if_nonzero()
ESP_LOGI
(
TAG
,
"key is %s, value is %s"
,
t
->
key
,
t
->
value
)
;
app_main.c:80
print_user_property()
ESP_LOGD
(
TAG
,
"Event dispatched from event loop base=%s, event_id=%"
PRIi32
,
base
,
event_id
)
;
app_main.c:102
mqtt5_event_handler()
ESP_LOGD
(
TAG
,
"free heap size is %"
PRIu32
", minimum %"
PRIu32
,
esp_get_free_heap_size
(
)
,
esp_get_minimum_free_heap_size
(
)
)
;
app_main.c:107
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_CONNECTED"
)
;
app_main.c:110
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"sent publish successful, msg_id=%d"
,
msg_id
)
;
app_main.c:117
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"sent subscribe successful, msg_id=%d"
,
msg_id
)
;
app_main.c:124
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"sent subscribe successful, msg_id=%d"
,
msg_id
)
;
app_main.c:131
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"sent unsubscribe successful, msg_id=%d"
,
msg_id
)
;
app_main.c:136
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_DISCONNECTED"
)
;
app_main.c:141
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_SUBSCRIBED, msg_id=%d"
,
event
->
msg_id
)
;
app_main.c:145
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"sent publish successful, msg_id=%d"
,
msg_id
)
;
app_main.c:149
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_UNSUBSCRIBED, msg_id=%d"
,
event
->
msg_id
)
;
app_main.c:152
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_PUBLISHED, msg_id=%d"
,
event
->
msg_id
)
;
app_main.c:161
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_DATA"
)
;
app_main.c:165
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"payload_format_indicator is %d"
,
event
->
property
->
payload_format_indicator
)
;
app_main.c:167
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"response_topic is %.*s"
,
event
->
property
->
response_topic_len
,
event
->
property
->
response_topic
)
;
app_main.c:168
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"correlation_data is %.*s"
,
event
->
property
->
correlation_data_len
,
event
->
property
->
correlation_data
)
;
app_main.c:169
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"content_type is %.*s"
,
event
->
property
->
content_type_len
,
event
->
property
->
content_type
)
;
app_main.c:170
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"TOPIC=%.*s"
,
event
->
topic_len
,
event
->
topic
)
;
app_main.c:171
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"DATA=%.*s"
,
event
->
data_len
,
event
->
data
)
;
app_main.c:172
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT_EVENT_ERROR"
)
;
app_main.c:175
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"MQTT5 return code is %d"
,
event
->
error_handle
->
connect_return_code
)
;
app_main.c:177
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"Last errno string (%s)"
,
strerror
(
event
->
error_handle
->
esp_transport_sock_errno
)
)
;
app_main.c:182
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"Other event id:%d"
,
event
->
event_id
)
;
app_main.c:186
mqtt5_event_handler()
ESP_LOGI
(
TAG
,
"[APP] Startup.."
)
;
app_main.c:267
app_main()
ESP_LOGI
(
TAG
,
"[APP] Free memory: %"
PRIu32
" bytes"
,
esp_get_free_heap_size
(
)
)
;
app_main.c:268
app_main()
ESP_LOGI
(
TAG
,
"[APP] IDF version: %s"
,
esp_get_idf_version
(
)
)
;
app_main.c:269
app_main()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 4 functions:
All items filtered out
TAG
log_error_if_nonzero()
print_user_property()
mqtt5_event_handler()
app_main()
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