AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
awsShadow_st Struct Reference

AWS Shadow structure used by the library to handle shadow updates. You should initialize the callback handler and register this awsShadow_st by calling AWS_shadowDeltaRegister function to receive callbacks whenever the shadow element is updated. More...

#include <lib_aws.h>

Data Fields

shadowValueType_et valType_e
 
awsShadowUpdateCallBack_t callBackHandler
 
char keyStr [LENGTH_AWS_SHADOW_KEY]
 
value_ut value_e
 
uint8_t isUpdated_b8
 

Detailed Description

AWS Shadow structure used by the library to handle shadow updates. You should initialize the callback handler and register this awsShadow_st by calling AWS_shadowDeltaRegister function to receive callbacks whenever the shadow element is updated.

This structure represent only one shadow element within a thing shadow.

Field Documentation

◆ callBackHandler

awsShadowUpdateCallBack_t awsShadow_st::callBackHandler

Callback handler to be called when shadow element is updated

◆ isUpdated_b8

uint8_t awsShadow_st::isUpdated_b8

Flag to indicate update

◆ keyStr

char awsShadow_st::keyStr[LENGTH_AWS_SHADOW_KEY]

A key of the shadow element

◆ valType_e

shadowValueType_et awsShadow_st::valType_e

A type of value required for this shadow element

◆ value_e

value_ut awsShadow_st::value_e

A value of the shadow element


The documentation for this struct was generated from the following file: