|
AWS IoT Embedded C Device SDK
|
MQTT Connection Parameters. More...
#include <aws_iot_mqtt_interface.h>
Data Fields | |
| uint8_t | 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) | |
| char * | pClientID |
| Pointer to a string defining the MQTT client ID (this needs to be unique per device across your AWS account) | |
| char * | pUserName |
| Not used in the AWS IoT Service. | |
| char * | pPassword |
| Not used in the AWS IoT Service. | |
| MQTT_Ver_t | MQTTVersion |
| Desired MQTT version used during connection. | |
| uint16_t | KeepAliveInterval_sec |
| MQTT keep alive interval in seconds. Defines inactivity time allowed before determining the connection has been lost. | |
| bool | isCleansession |
| MQTT clean session. True = this session is to be treated as clean. Previous server state is cleared and no stated is retained from this connection. | |
| bool | isWillMsgPresent |
| Is there a LWT associated with this connection? | |
| MQTTwillOptions | will |
| MQTT LWT parameters. | |
| 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. | |
Defining a type for MQTT connection parameters. Passed into client when establishing a connection.
1.8.10