Data Structures | Typedefs | Enumerations | Functions
XDK_MQTT.h File Reference
#include "BCDS_Retcode.h"
#include "BCDS_CmdProcessor.h"
+ Include dependency graph for XDK_MQTT.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  MQTT_Connect_S
 Structure to represent the MQTT connect features. More...
 
struct  MQTT_Publish_S
 Structure to represent the MQTT publish features. More...
 
struct  MQTT_Setup_S
 Structure to represent the MQTT setup features. More...
 

Typedefs

typedef struct MQTT_Connect_S MQTT_Connect_T
 Typedef to represent the MQTT connect feature. More...
 
typedef struct MQTT_Publish_S MQTT_Publish_T
 Typedef to represent the MQTT publish feature. More...
 
typedef struct MQTT_Setup_S MQTT_Setup_T
 Typedef to represent the MQTT setup feature. More...
 
typedef struct MQTT_Subscribe_S MQTT_Subscribe_T
 Structure to represent the MQTT subscribe feature. More...
 
typedef void(* MQTT_SubscribeCB_T )(MQTT_SubscribeCBParam_T param)
 Typedef to the function to be called upon receiving incoming MQTT messages. More...
 
typedef struct
MQTT_SubscribeCBParam_S 
MQTT_SubscribeCBParam_T
 Typedef to represent the incoming MQTT message information. More...
 
typedef enum MQTT_Type_E MQTT_Type_T
 Typedef to represent the supported MQTT type. More...
 

Enumerations

enum  MQTT_Type_E
 Enum to represent the supported MQTT types. More...
 

Functions

Retcode_T MQTT_ConnectToBroker (MQTT_Connect_T *mqttConnect, uint32_t timeout)
 This will connect to a MQTT broker. More...
 
Retcode_T MQTT_Enable (void)
 This will enable the MQTT by connecting to the broker. More...
 
Retcode_T MQTT_IsConnected (void)
 This function will check the connection status with Mqtt broker. If connection status in false, session must be started again, by calling MQTT_ConnectToBroker followed by topic subscription/publish. More...
 
Retcode_T MQTT_PublishToTopic (MQTT_Publish_T *publish, uint32_t timeout)
 This will publish to a MQTT topic. More...
 
Retcode_T MQTT_Setup (MQTT_Setup_T *setup)
 This will setup the MQTT. More...
 
Retcode_T MQTT_SubsribeToTopic (MQTT_Subscribe_T *subscribe, uint32_t timeout)
 This will subscribe to a MQTT topic. More...
 

This documentation file has been automatically generated on Wed May 6 2020 20:45:06 by doxygen 1.8.8