#include "aws_iot_shadow_actions.h"
#include "AWS_SDK/aws_iot_src/utils/aws_iot_log.h"
#include "aws_iot_shadow_json.h"
#include "aws_iot_shadow_records.h"
#include "aws_iot_config.h"
Functions | |
IoT_Error_t | iot_shadow_action (MQTTClient_t *pClient, const char *pThingName, ShadowActions_t action, const char *pJsonDocumentToBeSent, fpActionCallback_t callback, void *pCallbackContext, uint32_t timeout_seconds, bool isSticky) |
IoT_Error_t iot_shadow_action | ( | MQTTClient_t * | pClient, |
const char * | pThingName, | ||
ShadowActions_t | action, | ||
const char * | pJsonDocumentToBeSent, | ||
fpActionCallback_t | callback, | ||
void * | pCallbackContext, | ||
uint32_t | timeout_seconds, | ||
bool | isSticky | ||
) |
References addToAckWaitList(), extractClientToken(), GENERIC_ERROR, getNextFreeIndexOfAckWaitList(), incrementSubscriptionCnt(), isSubscriptionPresent(), NONE_ERROR, NULL, NULL_VALUE_ERROR, publishToShadowAction(), and subscribeToShadowActionAcks().
Referenced by aws_iot_shadow_delete(), aws_iot_shadow_get(), and aws_iot_shadow_update().