AWS IoT Device Shadow library - FreeRTOS

AWS IoT Device Shadow library

Note

The content on this page may not be up-to-date. Please refer to the FreeRTOS.org library page for the latest update.

Introduction

You can use the AWS IoT Device Shadow library to store and retrieve the current state (the shadow) of every registered device. The device's shadow is a persistent, virtual representation of your device that you can interact with in your web applications even if the device is offline. The device state is captured as its shadow in a JSON document. You can send commands to the AWS IoT Device Shadow service over MQTT or HTTP to query the latest known device state, or to change the state. Each device's shadow is uniquely identified by the name of the corresponding thing, a representation of a specific device or logical entity on the AWS Cloud. For more information, see Managing Devices with AWS IoT. More details about shadows can be found in AWS IoT documentation.

The AWS IoT Device Shadow library has no dependencies on additional libraries other than the standard C library. It also doesn't have any platform dependencies, such as threading or synchronization. It can be used with any MQTT library and any JSON library.

This library can be freely used and is distributed under the MIT open source license.

Code Size of AWS IoT Device Shadow (example generated with GCC for ARM Cortex-M)
File With -O1 Optimization With -Os Optimization
shadow.c 1.2K 0.9K
Total estimates 1.2K 0.9K