ThingsBoard Client SDK 0.16.0
Client SDK to connect with ThingsBoard IoT Platform from IoT devices (Arduino, Espressif, etc.)
Loading...
Searching...
No Matches
MQTT_Connection_State.h
Go to the documentation of this file.
1#ifndef MQTT_Connection_State_h
2#define MQTT_Connection_State_h
3
4// Library include.
5#include <stdint.h>
6
7
14 CONNECTED,
16 ERROR
17};
18
19#endif // MQTT_Connection_State_h
MQTT_Connection_State
Possible states the MQTT broker connection can be in.
Definition: MQTT_Connection_State.h:11
@ DISCONNECTED
Not yet connected or force disconnected from the MQTT broker. Loosing connection unexpectedly results...
@ CONNECTING
Received request to connect to the MQTT broker and connection is currently ongoing....
@ CONNECTED
Device has successfully connected to the MQTT broker. Should stay in this state until force disconnec...
@ DISCONNECTING
Received request to force disconnect from the MQTT broker. Should always result in DISCONNECTED state...
@ ERROR
State for failure to connect to the MQTT broker or loosing connection unexpectedly,...