MqttClient.h File Reference
#include "TcpClient.h"
#include "Url.h"
#include <BitManipulations.h>
#include <WString.h>
#include <WHashMap.h>
#include <Data/ObjectQueue.h>
#include "Mqtt/MqttPayloadParser.h"
#include "mqtt-codec/src/message.h"
#include "mqtt-codec/src/serialiser.h"
#include "mqtt-codec/src/parser.h"
Include dependency graph for MqttClient.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MqttClient
 

Macros

#define MQTT_REQUEST_POOL_SIZE   10
 
#define MQTT_CLIENT_CONNECTED   bit(1)
 
#define MQTT_FLAG_RETAINED   1
 
#define MQTT_MAX_BUFFER_SIZE   MQTT_PAYLOAD_LENGTH
 
#define MQTT_MSG_PUBREC   MQTT_TYPE_PUBREC
 

Typedefs

typedef Delegate< int(MqttClient &client, mqtt_message_t *message)> MqttDelegate
 
typedef ObjectQueue< mqtt_message_t, MQTT_REQUEST_POOL_SIZEMqttRequestQueue
 
typedef Delegate< void(String topic, String message)> MqttStringSubscriptionCallback
 
typedef Delegate< void(uint16_t msgId, int type)> MqttMessageDeliveredCallback
 

Enumerations

enum  MqttClientState { eMCS_Ready = 0, eMCS_SendingData }