|
AWS IoT Embedded C Device SDK
|
Shadow Connect parameters. More...
#include <aws_iot_shadow_interface.h>
Data Fields | |
| char * | pMyThingName |
| Every device has a Thing Shadow and this is the placeholder for name. | |
| char * | pMqttClientId |
| Currently the Shadow uses MQTT to connect and it is important to ensure we have unique client id. | |
| char * | pHost |
| This will be unique to a customer and can be retrieved from the console. | |
| int | 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. | |
Related Functions | |
(Note that these are not member functions.) | |
| const ShadowParameters_t | ShadowParametersDefault |
| 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.
ShadowParametersDefault to initialize this struct
1.8.10