Microchip® Advanced Software Framework

aws_iot_shadow_json.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <stdarg.h>
#include "AWS_SDK/aws_iot_src/utils/aws_iot_error.h"
#include "aws_iot_shadow_json_data.h"

Functions

bool extractClientToken (const char *pJsonDocumentToBeSent, char *pExtractedClientToken)
 
bool extractVersionNumber (const char *pJsonDocument, void *pJsonHandler, int32_t tokenCount, uint32_t *pVersionNumber)
 
void FillWithClientToken (char *pStringToUpdateClientToken)
 
void iot_shadow_delete_request_json (char *pJsonDocument)
 
void iot_shadow_get_request_json (char *pJsonDocument)
 
bool isJsonKeyMatchingAndUpdateValue (const char *pJsonDocument, void *pJsonHandler, int32_t tokenCount, jsonStruct_t *pDataStruct, uint32_t *pDataLength, int32_t *pDataPosition)
 
bool isJsonValidAndParse (const char *pJsonDocument, void *pJsonHandler, int32_t *pTokenCount)
 
bool isReceivedJsonValid (const char *pJsonDocument)
 
void resetClientTokenSequenceNum (void)
 

bool extractClientToken ( const char *  pJsonDocumentToBeSent,
char *  pExtractedClientToken 
)
bool extractVersionNumber ( const char *  pJsonDocument,
void *  pJsonHandler,
int32_t  tokenCount,
uint32_t *  pVersionNumber 
)
void FillWithClientToken ( char *  pStringToUpdateClientToken)

References clientTokenNum, and mqttClientID.

Referenced by emptyJsonWithClientToken().

void iot_shadow_delete_request_json ( char *  pJsonDocument)
void iot_shadow_get_request_json ( char *  pJsonDocument)
bool isJsonKeyMatchingAndUpdateValue ( const char *  pJsonDocument,
void *  pJsonHandler,
int32_t  tokenCount,
jsonStruct_t pDataStruct,
uint32_t *  pDataLength,
int32_t *  pDataPosition 
)
bool isJsonValidAndParse ( const char *  pJsonDocument,
void *  pJsonHandler,
int32_t *  pTokenCount 
)
bool isReceivedJsonValid ( const char *  pJsonDocument)
void resetClientTokenSequenceNum ( void  )

References clientTokenNum.

Referenced by aws_iot_shadow_init().