Demo application for using the AT&T IoT Starter Kit Powered by AWS.

Dependencies:   SDFileSystem

Fork of ATT_AWS_IoT_demo by Anthony Phillips

Embed: (wiki syntax)

« Back to documentation index

MQTTClient_t Struct Reference

MQTTClient_t Struct Reference

MQTT Client Type Definition. More...

#include <aws_iot_mqtt_interface.h>

Data Fields

pConnectFunc_t connect
 function implementing the iot_mqtt_connect function
pPublishFunc_t publish
 function implementing the iot_mqtt_publish function
pSubscribeFunc_t subscribe
 function implementing the iot_mqtt_subscribe function
pUnsubscribeFunc_t unsubscribe
 function implementing the iot_mqtt_unsubscribe function
pDisconnectFunc_t disconnect
 function implementing the iot_mqtt_disconnect function
pYieldFunc_t yield
 function implementing the iot_mqtt_yield function
pIsConnectedFunc_t isConnected
 function implementing the iot_is_mqtt_connected function
pReconnectFunc_t reconnect
 function implementing the iot_mqtt_reconnect function
pIsAutoReconnectEnabledFunc_t isAutoReconnectEnabled
 function implementing the iot_is_autoreconnect_enabled function
pSetAutoReconnectStatusFunc_t setAutoReconnectStatus
 function implementing the iot_mqtt_autoreconnect_set_status function

Detailed Description

MQTT Client Type Definition.

Defines a structure of function pointers, each implementing a corresponding iot_mqtt_* function. In this way any MQTT client which implements the iot_mqtt_* interface can be swapped in under the MQTT/Shadow layer.

Definition at line 301 of file aws_iot_mqtt_interface.h.


Field Documentation

pConnectFunc_t connect

function implementing the iot_mqtt_connect function

Definition at line 302 of file aws_iot_mqtt_interface.h.

pDisconnectFunc_t disconnect

function implementing the iot_mqtt_disconnect function

Definition at line 306 of file aws_iot_mqtt_interface.h.

pIsAutoReconnectEnabledFunc_t isAutoReconnectEnabled

function implementing the iot_is_autoreconnect_enabled function

Definition at line 310 of file aws_iot_mqtt_interface.h.

pIsConnectedFunc_t isConnected

function implementing the iot_is_mqtt_connected function

Definition at line 308 of file aws_iot_mqtt_interface.h.

pPublishFunc_t publish

function implementing the iot_mqtt_publish function

Definition at line 303 of file aws_iot_mqtt_interface.h.

pReconnectFunc_t reconnect

function implementing the iot_mqtt_reconnect function

Definition at line 309 of file aws_iot_mqtt_interface.h.

pSetAutoReconnectStatusFunc_t setAutoReconnectStatus

function implementing the iot_mqtt_autoreconnect_set_status function

Definition at line 311 of file aws_iot_mqtt_interface.h.

pSubscribeFunc_t subscribe

function implementing the iot_mqtt_subscribe function

Definition at line 304 of file aws_iot_mqtt_interface.h.

pUnsubscribeFunc_t unsubscribe

function implementing the iot_mqtt_unsubscribe function

Definition at line 305 of file aws_iot_mqtt_interface.h.

pYieldFunc_t yield

function implementing the iot_mqtt_yield function

Definition at line 307 of file aws_iot_mqtt_interface.h.