|
AWS IoT Embedded C Device SDK
|
Shadow Initialization parameters. More...
#include <aws_iot_shadow_interface.h>
Data Fields | |
| char * | pHost |
| This will be unique to a customer and can be retrieved from the console. | |
| uint16_t | port |
| By default the port is 8883. | |
| char * | pRootCA |
| Location with the Filename of the Root CA. | |
| char * | pClientCRT |
| Location of Device certs signed by AWS IoT service. | |
| char * | pClientKey |
| Location of Device private key. | |
| bool | enableAutoReconnect |
| Set to true to enable auto reconnect. | |
| iot_disconnect_handler | disconnectHandler |
| Callback to be invoked upon connection loss. | |
Related Functions | |
(Note that these are not member functions.) | |
| const ShadowInitParameters_t | ShadowInitParametersDefault |
| This is set to defaults from the configuration file The certs are set to NULL because they need the path to the file. shadow_sample.c file demonstrates on how to get the relative path. | |
As the Shadow SDK uses MQTT underneath, it could be connected and disconnected on events to save some battery.
ShadowIniTParametersDefault to initialize this struct
1.8.10