Provides MQTT client. More...

Collaboration diagram for MQTT client:

Classes

class  MqttClient
 

Macros

#define MQTT_REQUEST_POOL_SIZE   10
 
#define MQTT_CLIENT_CONNECTED   bit(1)
 
#define MQTT_FLAG_RETAINED   1
 

Typedefs

using MqttDelegate = Delegate< int(MqttClient &client, mqtt_message_t *message)>
 
using MqttRequestQueue = ObjectQueue< mqtt_message_t, MQTT_REQUEST_POOL_SIZE >
 

Enumerations

enum  MqttClientState { eMCS_Ready = 0, eMCS_SendingData }
 

Detailed Description

Provides MQTT client.

Macro Definition Documentation

◆ MQTT_CLIENT_CONNECTED

#define MQTT_CLIENT_CONNECTED   bit(1)

◆ MQTT_FLAG_RETAINED

#define MQTT_FLAG_RETAINED   1

◆ MQTT_REQUEST_POOL_SIZE

#define MQTT_REQUEST_POOL_SIZE   10

Typedef Documentation

◆ MqttDelegate

using MqttDelegate = Delegate<int(MqttClient& client, mqtt_message_t* message)>

◆ MqttRequestQueue

Enumeration Type Documentation

◆ MqttClientState

Enumerator
eMCS_Ready 
eMCS_SendingData