AWS IoT Device SDK C: Shadow
AWS IoT Device Shadow library
Return to main page ↑
_shadowSubscription_t Struct Reference

Represents a Shadow subscriptions object. More...

#include <aws_iot_shadow_internal.h>

Data Fields

IotLink_t link
 List link member.
 
int32_t references [SHADOW_OPERATION_COUNT]
 Reference counter for Shadow operation topics.
 
AwsIotShadowCallbackInfo_t callbacks [SHADOW_CALLBACK_COUNT]
 Shadow callbacks for this Thing.
 
char * pTopicBuffer
 Buffer allocated for removing Shadow topics. More...
 
size_t thingNameLength
 Length of Thing Name.
 
char pThingName []
 Thing Name associated with this subscriptions object.
 

Detailed Description

Represents a Shadow subscriptions object.

These structures are stored in a list.

Field Documentation

◆ pTopicBuffer

char* _shadowSubscription_t::pTopicBuffer

Buffer allocated for removing Shadow topics.

This buffer is pre-allocated to ensure that memory is available when unsubscribing.


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