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.
#include <aws_iot_mqtt_interface.h>
Data Fields | |
pConnectFunc_t | connect |
function implementing the iot_mqtt_connect function More... | |
pDisconnectFunc_t | disconnect |
function implementing the iot_mqtt_disconnect function More... | |
pIsAutoReconnectEnabledFunc_t | isAutoReconnectEnabled |
function implementing the iot_is_autoreconnect_enabled function More... | |
pIsConnectedFunc_t | isConnected |
function implementing the iot_is_mqtt_connected function More... | |
pPublishFunc_t | publish |
function implementing the iot_mqtt_publish function More... | |
pReconnectFunc_t | reconnect |
function implementing the iot_mqtt_reconnect function More... | |
pSetAutoReconnectStatusFunc_t | setAutoReconnectStatus |
function implementing the iot_mqtt_autoreconnect_set_status function More... | |
pSubscribeFunc_t | subscribe |
function implementing the iot_mqtt_subscribe function More... | |
pUnsubscribeFunc_t | unsubscribe |
function implementing the iot_mqtt_unsubscribe function More... | |
pYieldFunc_t | yield |
function implementing the iot_mqtt_yield function More... | |
pConnectFunc_t MQTTClient_t::connect |
function implementing the iot_mqtt_connect function
Referenced by aws_iot_mqtt_init(), and aws_iot_shadow_connect().
pDisconnectFunc_t MQTTClient_t::disconnect |
function implementing the iot_mqtt_disconnect function
Referenced by aws_iot_mqtt_init(), and aws_iot_shadow_disconnect().
pIsAutoReconnectEnabledFunc_t MQTTClient_t::isAutoReconnectEnabled |
function implementing the iot_is_autoreconnect_enabled function
Referenced by aws_iot_mqtt_init().
pIsConnectedFunc_t MQTTClient_t::isConnected |
function implementing the iot_is_mqtt_connected function
Referenced by aws_iot_mqtt_init(), aws_iot_shadow_delete(), aws_iot_shadow_get(), aws_iot_shadow_register_delta(), and aws_iot_shadow_update().
pPublishFunc_t MQTTClient_t::publish |
function implementing the iot_mqtt_publish function
Referenced by aws_iot_mqtt_init(), and publishToShadowAction().
pReconnectFunc_t MQTTClient_t::reconnect |
function implementing the iot_mqtt_reconnect function
Referenced by aws_iot_mqtt_init().
pSetAutoReconnectStatusFunc_t MQTTClient_t::setAutoReconnectStatus |
function implementing the iot_mqtt_autoreconnect_set_status function
Referenced by aws_iot_mqtt_init().
pSubscribeFunc_t MQTTClient_t::subscribe |
function implementing the iot_mqtt_subscribe function
Referenced by aws_iot_mqtt_init(), registerJsonTokenOnDelta(), and subscribeToShadowActionAcks().
pUnsubscribeFunc_t MQTTClient_t::unsubscribe |
function implementing the iot_mqtt_unsubscribe function
Referenced by aws_iot_mqtt_init(), subscribeToShadowActionAcks(), and unsubscribeFromAcceptedAndRejected().
pYieldFunc_t MQTTClient_t::yield |
function implementing the iot_mqtt_yield function
Referenced by aws_iot_mqtt_init(), and aws_iot_shadow_yield().