AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
MQTT Initialization Parameters. More...
#include <aws_iot_mqtt_client.h>
Data Fields | |
bool | enableAutoReconnect |
Set to true to enable auto reconnect. | |
char * | pHostURL |
Pointer to a string defining the endpoint for the MQTT service. | |
uint16_t | port |
MQTT service listening port. | |
char * | pRootCALocation |
Pointer to a string defining the Root CA file (full file, not path) | |
char * | pDeviceCertLocation |
Pointer to a string defining the device identity certificate file (full file, not path) | |
char * | pDevicePrivateKeyLocation |
Pointer to a string defining the device private key file (full file, not path) | |
uint32_t | mqttPacketTimeout_ms |
Timeout for reading a complete MQTT packet. In milliseconds. | |
uint32_t | mqttCommandTimeout_ms |
Timeout for MQTT blocking calls. In milliseconds. | |
uint32_t | tlsHandshakeTimeout_ms |
TLS handshake timeout. In milliseconds. | |
bool | isSSLHostnameVerify |
Client should perform server certificate hostname validation. | |
iot_disconnect_handler | disconnectHandler |
Callback to be invoked upon connection loss. | |
void * | disconnectHandlerData |
Data to pass as argument when disconnect handler is called. | |
bool | isBlockOnThreadLockEnabled |
Timeout for Thread blocking calls. Set to 0 to block until lock is obtained. In milliseconds. | |
MQTT Initialization Parameters.
Defining a type for MQTT initialization parameters. Passed into client when to initialize the client