These values indicate the current PubSubClient::state() of the client. More...
Macros | |
#define | MQTT_CONNECTION_TIMEOUT -4 |
The network connection timed out or server didn't respond within the keepalive time. | |
#define | MQTT_CONNECTION_LOST -3 |
The network connection was lost/broken. | |
#define | MQTT_CONNECT_FAILED -2 |
The network connection failed. | |
#define | MQTT_DISCONNECTED -1 |
The client is disconnected cleanly. | |
#define | MQTT_CONNECTED 0 |
The client is connected. | |
#define | MQTT_CONNECT_BAD_PROTOCOL 1 |
The server does not support the requested MQTT version. | |
#define | MQTT_CONNECT_BAD_CLIENT_ID 2 |
The server rejected the client identifier. | |
#define | MQTT_CONNECT_UNAVAILABLE 3 |
The server was unable to accept the connection. | |
#define | MQTT_CONNECT_BAD_CREDENTIALS 4 |
The username or password is not valid. | |
#define | MQTT_CONNECT_UNAUTHORIZED 5 |
The client is not authorized to connect to the server. | |
These values indicate the current PubSubClient::state() of the client.
#define MQTT_CONNECT_BAD_CLIENT_ID 2 |
The server rejected the client identifier.
Definition at line 92 of file PubSubClient.h.
#define MQTT_CONNECT_BAD_CREDENTIALS 4 |
The username or password is not valid.
Definition at line 94 of file PubSubClient.h.
#define MQTT_CONNECT_BAD_PROTOCOL 1 |
The server does not support the requested MQTT version.
Definition at line 91 of file PubSubClient.h.
#define MQTT_CONNECT_FAILED -2 |
The network connection failed.
Definition at line 88 of file PubSubClient.h.
#define MQTT_CONNECT_UNAUTHORIZED 5 |
The client is not authorized to connect to the server.
Definition at line 95 of file PubSubClient.h.
#define MQTT_CONNECT_UNAVAILABLE 3 |
The server was unable to accept the connection.
Definition at line 93 of file PubSubClient.h.
#define MQTT_CONNECTED 0 |
The client is connected.
Definition at line 90 of file PubSubClient.h.
#define MQTT_CONNECTION_LOST -3 |
The network connection was lost/broken.
Definition at line 87 of file PubSubClient.h.
#define MQTT_CONNECTION_TIMEOUT -4 |
The network connection timed out or server didn't respond within the keepalive time.
Definition at line 86 of file PubSubClient.h.
#define MQTT_DISCONNECTED -1 |
The client is disconnected cleanly.
Definition at line 89 of file PubSubClient.h.