Demo application for using the AT&T IoT Starter Kit Powered by AWS.

Dependencies:   SDFileSystem

Fork of ATT_AWS_IoT_demo by Anthony Phillips

Embed: (wiki syntax)

« Back to documentation index

ShadowParameters_t Struct Reference

ShadowParameters_t Struct Reference

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.

Detailed Description

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

Definition at line 48 of file aws_iot_shadow_interface.h.


Friends And Related Function Documentation

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.

Definition at line 64 of file aws_iot_shadow_interface.h.


Field Documentation

char* pClientCRT

Location of Device certs signed by AWS IoT service.

Definition at line 54 of file aws_iot_shadow_interface.h.

char* pClientKey

Location of Device private key.

Definition at line 55 of file aws_iot_shadow_interface.h.

char* pHost

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

Definition at line 51 of file aws_iot_shadow_interface.h.

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

Definition at line 50 of file aws_iot_shadow_interface.h.

char* pMyThingName

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

Definition at line 49 of file aws_iot_shadow_interface.h.

int port

By default the port is 8883.

Definition at line 52 of file aws_iot_shadow_interface.h.

char* pRootCA

Location with the Filename of the Root CA.

Definition at line 53 of file aws_iot_shadow_interface.h.