MqttClient.h File Reference
#include "TcpClient.h"
#include "Url.h"
#include <BitManipulations.h>
#include <WString.h>
#include <WHashMap.h>
#include <Data/ObjectQueue.h>
#include <Platform/Timers.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
 

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 }