|
AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
| Return to main page ↑ |
Represents an MQTT connection. More...
#include <iot_mqtt_internal.h>
Data Fields | |
| bool | awsIotMqttMode |
| Specifies if this connection is to an AWS IoT MQTT server. | |
| bool | ownNetworkConnection |
| Whether this MQTT connection owns its network connection. | |
| IotNetworkConnection_t | pNetworkConnection |
| References the transport-layer network connection. | |
| const IotNetworkInterface_t * | pNetworkInterface |
| Network interface provided to IotMqtt_Connect. | |
| IotMqttCallbackInfo_t | disconnectCallback |
| A function to invoke when this connection is disconnected. | |
| const IotMqttSerializer_t * | pSerializer |
| MQTT packet serializer overrides. | |
| bool | disconnected |
| Tracks if this connection has been disconnected. | |
| IotMutex_t | referencesMutex |
| Recursive mutex. Grants access to connection state and operation lists. | |
| int32_t | references |
| Counts callbacks and operations using this connection. | |
| IotListDouble_t | pendingProcessing |
| List of operations waiting to be processed by a task pool routine. | |
| IotListDouble_t | pendingResponse |
| List of processed operations awaiting a server response. | |
| IotListDouble_t | subscriptionList |
| Holds subscriptions associated with this connection. | |
| IotMutex_t | subscriptionMutex |
| Grants exclusive access to the subscription list. | |
| uint64_t | lastMessageTime |
| When the most recent message was transmitted. | |
| _mqttOperation_t | pingreq |
| Operation used for MQTT keep-alive. | |
Represents an MQTT connection.