ESP-IDF
mqtt_connect_info::will_message
is only used within ESP-IDF.
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
ESP-IDF
mqtt_connect_info::will_message
mqtt_connect_info::will_message field
Syntax
Show:
Summary
Declaration
from
mqtt_msg.h:76
char
*
will_message
;
Examples
References
from
examples
Code
Location
Referrer
char
*
will_message
;
mqtt_msg.h:76
APPEND_CHECK
(
append_property
(
connection
,
0
,
2
,
info
->
will_message
,
info
->
will_length
)
,
fail_message
(
connection
)
)
;
mqtt5_msg.c:551
mqtt5_msg_connect()
free
(
client
->
mqtt_state
.
connection
.
information
.
will_message
)
;
mqtt_client.c:457
esp_mqtt_set_config()
client
->
mqtt_state
.
connection
.
information
.
will_message
=
malloc
(
config
->
session
.
last_will
.
msg_len
)
;
mqtt_client.c:458
esp_mqtt_set_config()
ESP_MEM_CHECK
(
TAG
,
client
->
mqtt_state
.
connection
.
information
.
will_message
,
goto
_mqtt_set_config_failed
)
;
mqtt_client.c:459
esp_mqtt_set_config()
memcpy
(
client
->
mqtt_state
.
connection
.
information
.
will_message
,
config
->
session
.
last_will
.
msg
,
config
->
session
.
last_will
.
msg_len
)
;
mqtt_client.c:460
esp_mqtt_set_config()
free
(
client
->
mqtt_state
.
connection
.
information
.
will_message
)
;
mqtt_client.c:463
esp_mqtt_set_config()
client
->
mqtt_state
.
connection
.
information
.
will_message
=
strdup
(
config
->
session
.
last_will
.
msg
)
;
mqtt_client.c:464
esp_mqtt_set_config()
ESP_MEM_CHECK
(
TAG
,
client
->
mqtt_state
.
connection
.
information
.
will_message
,
goto
_mqtt_set_config_failed
)
;
mqtt_client.c:465
esp_mqtt_set_config()
free
(
client
->
mqtt_state
.
connection
.
information
.
will_message
)
;
mqtt_client.c:647
esp_mqtt_destroy_config()
if
(
append_string
(
connection
,
info
->
will_message
,
info
->
will_length
)
<
0
)
{
mqtt_msg.c:398
mqtt_msg_connect()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mqtt_connect_info::will_message
is written by 1 function and is read by 4 functions:
esp_mqtt_set_config()
All items filtered out
mqtt_connect_info::will_message
esp_mqtt_set_config()
esp_mqtt_destroy_config()
mqtt_msg_connect()
mqtt5_msg_connect()
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