AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
MQTT Client Data. More...
#include <aws_iot_mqtt_client.h>
Data Fields | |
uint16_t | nextPacketId |
Packet ID to use for the next generated packet. | |
uint32_t | packetTimeoutMs |
Timeout for reading incoming packets from the network. | |
uint32_t | commandTimeoutMs |
Timeout for processing outgoing MQTT packets. | |
uint16_t | keepAliveInterval |
Maximum interval between control packets. | |
uint32_t | currentReconnectWaitInterval |
Current backoff period for reconnect. | |
uint32_t | counterNetworkDisconnected |
How many times this client detected a disconnection. | |
size_t | writeBufSize |
Size of this client's outgoing data buffer. | |
size_t | readBufSize |
Size of this client's incoming data buffer. | |
size_t | readBufIndex |
Current offset into the incoming data buffer. | |
unsigned char | writeBuf [AWS_IOT_MQTT_TX_BUF_LEN] |
Buffer for outgoing data. | |
unsigned char | readBuf [AWS_IOT_MQTT_RX_BUF_LEN] |
Buffer for incoming data. | |
bool | isBlockOnThreadLockEnabled |
Whether to use nonblocking or blocking mutex APIs. | |
IoT_Mutex_t | state_change_mutex |
Mutex protecting the client's state machine. | |
IoT_Mutex_t | tls_read_mutex |
Mutex protecting incoming data. | |
IoT_Mutex_t | tls_write_mutex |
Mutex protecting outgoing data. | |
IoT_Client_Connect_Params | options |
Options passed when the client was initialized. | |
MessageHandlers | messageHandlers [AWS_IOT_MQTT_NUM_SUBSCRIBE_HANDLERS] |
Callbacks for incoming messages. | |
iot_disconnect_handler | disconnectHandler |
Callback when a disconnection is detected. | |
void * | disconnectHandlerData |
Context for disconnect handler. | |
MQTT Client Data.
Defining a type for MQTT Client Data Contains data used by the MQTT Client