DIYmall 0.96" Inch I2c IIC Serial 128x64 Oled LCD LED White Display Module

Dependencies:   Adafruit_GFX SDFileSystem

Fork of ATT_AWS_IoT_demo by AT&T IoT

Committer:
afmiee
Date:
Tue Oct 09 20:57:34 2018 +0000
Revision:
28:4650c541b029
Parent:
15:6f2798e45099
DIYmall 0.96" Inch I2c IIC Serial 128x64 Oled LCD LED White Display Module

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ampembeng 15:6f2798e45099 1 /*
ampembeng 15:6f2798e45099 2 * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
ampembeng 15:6f2798e45099 3 *
ampembeng 15:6f2798e45099 4 * Licensed under the Apache License, Version 2.0 (the "License").
ampembeng 15:6f2798e45099 5 * You may not use this file except in compliance with the License.
ampembeng 15:6f2798e45099 6 * A copy of the License is located at
ampembeng 15:6f2798e45099 7 *
ampembeng 15:6f2798e45099 8 * http://aws.amazon.com/apache2.0
ampembeng 15:6f2798e45099 9 *
ampembeng 15:6f2798e45099 10 * or in the "license" file accompanying this file. This file is distributed
ampembeng 15:6f2798e45099 11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
ampembeng 15:6f2798e45099 12 * express or implied. See the License for the specific language governing
ampembeng 15:6f2798e45099 13 * permissions and limitations under the License.
ampembeng 15:6f2798e45099 14 */
ampembeng 15:6f2798e45099 15 #ifndef AWS_IOT_SDK_SRC_IOT_SHADOW_JSON_H_
ampembeng 15:6f2798e45099 16 #define AWS_IOT_SDK_SRC_IOT_SHADOW_JSON_H_
ampembeng 15:6f2798e45099 17
ampembeng 15:6f2798e45099 18 #include <stdint.h>
ampembeng 15:6f2798e45099 19 #include <stdbool.h>
ampembeng 15:6f2798e45099 20 #include <stdarg.h>
ampembeng 15:6f2798e45099 21
ampembeng 15:6f2798e45099 22 #include "aws_iot_error.h"
ampembeng 15:6f2798e45099 23 #include "aws_iot_shadow_json_data.h"
ampembeng 15:6f2798e45099 24
ampembeng 15:6f2798e45099 25 bool isJsonValidAndParse(const char *pJsonDocument, void *pJsonHandler, int32_t *pTokenCount);
ampembeng 15:6f2798e45099 26 bool isJsonKeyMatchingAndUpdateValue(const char *pJsonDocument, void *pJsonHandler, int32_t tokenCount,
ampembeng 15:6f2798e45099 27 jsonStruct_t *pDataStruct, uint32_t *pDataLength, int32_t *pDataPosition);
ampembeng 15:6f2798e45099 28
ampembeng 15:6f2798e45099 29 void iot_shadow_get_request_json(char *pJsonDocument);
ampembeng 15:6f2798e45099 30 void iot_shadow_delete_request_json(char *pJsonDocument);
ampembeng 15:6f2798e45099 31 void resetClientTokenSequenceNum(void);
ampembeng 15:6f2798e45099 32
ampembeng 15:6f2798e45099 33
ampembeng 15:6f2798e45099 34 bool isReceivedJsonValid(const char *pJsonDocument);
ampembeng 15:6f2798e45099 35 void FillWithClientToken(char *pStringToUpdateClientToken);
ampembeng 15:6f2798e45099 36 bool extractClientToken(const char *pJsonDocumentToBeSent, char *pExtractedClientToken);
ampembeng 15:6f2798e45099 37 bool extractVersionNumber(const char *pJsonDocument, void *pJsonHandler, int32_t tokenCount, uint32_t *pVersionNumber);
ampembeng 15:6f2798e45099 38 #endif // AWS_IOT_SDK_SRC_IOT_SHADOW_JSON_H_
ampembeng 15:6f2798e45099 39