ESP-IDF
esp_mqtt_client::state
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_mqtt_client::state
esp_mqtt_client::state field
Syntax
Show:
Summary
Declaration
from
mqtt_client_priv.h:117
_Atomic
mqtt_client_state_t
state
;
Examples
References
from
examples
Code
Location
Referrer
_Atomic
mqtt_client_state_t
state
;
mqtt_client_priv.h:117
client
->
state
=
MQTT_STATE_WAIT_RECONNECT
;
mqtt_client.c:828
esp_mqtt_abort_connection()
client
->
state
=
MQTT_STATE_INIT
;
mqtt_client.c:1577
esp_mqtt_task()
mqtt_client_state_t
state
=
client
->
state
;
mqtt_client.c:1584
esp_mqtt_task()
client
->
state
=
MQTT_STATE_CONNECTED
;
mqtt_client.c:1639
esp_mqtt_task()
client
->
state
=
MQTT_STATE_INIT
;
mqtt_client.c:1706
esp_mqtt_task()
client
->
state
=
MQTT_STATE_INIT
;
mqtt_client.c:1714
esp_mqtt_task()
client
->
state
=
MQTT_STATE_INIT
;
mqtt_client.c:1720
esp_mqtt_task()
if
(
MQTT_STATE_CONNECTED
==
client
->
state
)
{
mqtt_client.c:1735
esp_mqtt_task()
client
->
state
=
MQTT_STATE_DISCONNECTED
;
mqtt_client.c:1746
esp_mqtt_task()
if
(
client
->
state
!=
MQTT_STATE_INIT
&&
client
->
state
!=
MQTT_STATE_DISCONNECTED
)
{
mqtt_client.c:1758
esp_mqtt_client_start()
if
(
client
->
state
!=
MQTT_STATE_WAIT_RECONNECT
)
{
mqtt_client.c:1799
esp_mqtt_client_reconnect()
if
(
client
->
state
==
MQTT_STATE_CONNECTED
)
{
mqtt_client.c:1850
esp_mqtt_client_stop()
client
->
state
=
MQTT_STATE_DISCONNECTED
;
mqtt_client.c:1858
esp_mqtt_client_stop()
if
(
client
->
state
!=
MQTT_STATE_CONNECTED
)
{
mqtt_client.c:1897
esp_mqtt_client_subscribe_multiple()
if
(
client
->
state
!=
MQTT_STATE_CONNECTED
)
{
mqtt_client.c:1965
esp_mqtt_client_unsubscribe()
if
(
client
->
state
!=
MQTT_STATE_CONNECTED
)
{
mqtt_client.c:2113
esp_mqtt_client_publish()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_mqtt_client::state
is written by 3 functions and is read by 7 functions:
esp_mqtt_abort_connection()
esp_mqtt_task()
esp_mqtt_client_stop()
All items filtered out
esp_mqtt_client::state
esp_mqtt_task()
esp_mqtt_client_start()
esp_mqtt_client_reconnect()
esp_mqtt_client_stop()
esp_mqtt_client_subscribe_multiple()
esp_mqtt_client_unsubscribe()
esp_mqtt_client_publish()
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