![]() |
MySensors Library & Examples
2.3.2-62-ge298769
|
PubSubClient class
Definition at line 89 of file PubSubClient.h.
#include <PubSubClient.h>
Inheritance diagram for PubSubClient:
Collaboration diagram for PubSubClient:Public Member Functions | |
| PubSubClient () | |
| PubSubClient. | |
| PubSubClient (Client &client) | |
| PubSubClient. | |
| PubSubClient (IPAddress, uint16_t, Client &client) | |
| PubSubClient. | |
| PubSubClient (IPAddress, uint16_t, Client &client, Stream &) | |
| PubSubClient. | |
| PubSubClient (IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client) | |
| PubSubClient. | |
| PubSubClient (IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client, Stream &) | |
| PubSubClient. | |
| PubSubClient (uint8_t *, uint16_t, Client &client) | |
| PubSubClient. | |
| PubSubClient (uint8_t *, uint16_t, Client &client, Stream &) | |
| PubSubClient. | |
| PubSubClient (uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client) | |
| PubSubClient. | |
| PubSubClient (uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client, Stream &) | |
| PubSubClient. | |
| PubSubClient (const char *, uint16_t, Client &client) | |
| PubSubClient. | |
| PubSubClient (const char *, uint16_t, Client &client, Stream &) | |
| PubSubClient. | |
| PubSubClient (const char *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client) | |
| PubSubClient. | |
| PubSubClient (const char *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client, Stream &) | |
| PubSubClient. | |
| PubSubClient & | setServer (IPAddress ip, uint16_t port) |
| setServer | |
| PubSubClient & | setServer (uint8_t *ip, uint16_t port) |
| setServer | |
| PubSubClient & | setServer (const char *domain, uint16_t port) |
| setServer | |
| PubSubClient & | setCallback (MQTT_CALLBACK_SIGNATURE) |
| setCallback | |
| PubSubClient & | setClient (Client &client) |
| setClient | |
| PubSubClient & | setStream (Stream &stream) |
| setStream | |
| PubSubClient & | setKeepAlive (uint16_t keepAlive) |
| setKeepAlive | |
| PubSubClient & | setSocketTimeout (uint16_t timeout) |
| setSocketTimeout | |
| bool | setBufferSize (uint16_t size) |
| setBufferSize | |
| uint16_t | getBufferSize () |
| getBufferSize | |
| bool | connect (const char *id) |
| connect | |
| bool | connect (const char *id, const char *user, const char *pass) |
| connect | |
| bool | connect (const char *id, const char *willTopic, uint8_t willQos, bool willRetain, const char *willMessage) |
| connect | |
| bool | connect (const char *id, const char *user, const char *pass, const char *willTopic, uint8_t willQos, bool willRetain, const char *willMessage) |
| connect | |
| bool | connect (const char *id, const char *user, const char *pass, const char *willTopic, uint8_t willQos, bool willRetain, const char *willMessage, bool cleanSession) |
| connect | |
| void | disconnect () |
| disconnect | |
| bool | publish (const char *topic, const char *payload) |
| publish | |
| bool | publish (const char *topic, const char *payload, bool retained) |
| publish | |
| bool | publish (const char *topic, const uint8_t *payload, unsigned int plength) |
| publish | |
| bool | publish (const char *topic, const uint8_t *payload, unsigned int plength, bool retained) |
| publish | |
| bool | publish_P (const char *topic, const char *payload, bool retained) |
| publish | |
| bool | publish_P (const char *topic, const uint8_t *payload, unsigned int plength, bool retained) |
| publish | |
| bool | beginPublish (const char *topic, unsigned int plength, bool retained) |
| beginPublish | |
| int | endPublish () |
| endPublish | |
| virtual size_t | write (uint8_t) |
| write | |
| virtual size_t | write (const uint8_t *buffer, size_t size) |
| write | |
| bool | subscribe (const char *topic) |
| subscribe | |
| bool | subscribe (const char *topic, uint8_t qos) |
| subscribe | |
| bool | unsubscribe (const char *topic) |
| unsubscribe | |
| bool | loop () |
| loop | |
| bool | connected () |
| connected | |
| int | state () |
| state | |