Microchip® Advanced Software Framework

ShadowParameters_t Struct Reference

Shadow Connect parameters.

As the Shadow SDK uses MQTT underneath, it could be connected and disconnected on events to save some battery.

Note
Always use the ShadowParametersDefault to initialize this struct

#include <aws_iot_shadow_interface.h>

Data Fields

char * pClientCRT
 Location of Device certs signed by AWS IoT service. More...
 
char * pClientKey
 Location of Device private key. More...
 
char * pHost
 This will be unique to a customer and can be retrieved from the console. More...
 
char * pMqttClientId
 Currently the Shadow uses MQTT to connect and it is important to ensure we have unique client id. More...
 
char * pMyThingName
 Every device has a Thing Shadow and this is the placeholder for name. More...
 
int port
 By default the port is 8883. More...
 
char * pRootCA
 Location with the Filename of the Root CA. More...
 

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. More...
 

const ShadowParameters_t ShadowParametersDefault
related

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.

char* ShadowParameters_t::pClientCRT

Location of Device certs signed by AWS IoT service.

Referenced by aws_iot_shadow_connect().

char* ShadowParameters_t::pClientKey

Location of Device private key.

Referenced by aws_iot_shadow_connect().

char* ShadowParameters_t::pHost

This will be unique to a customer and can be retrieved from the console.

Referenced by aws_iot_shadow_connect().

char* ShadowParameters_t::pMqttClientId

Currently the Shadow uses MQTT to connect and it is important to ensure we have unique client id.

Referenced by aws_iot_shadow_connect().

char* ShadowParameters_t::pMyThingName

Every device has a Thing Shadow and this is the placeholder for name.

Referenced by aws_iot_shadow_connect().

int ShadowParameters_t::port

By default the port is 8883.

Referenced by aws_iot_shadow_connect().

char* ShadowParameters_t::pRootCA

Location with the Filename of the Root CA.

Referenced by aws_iot_shadow_connect().