Quality RTOS & Embedded Software

LIBRARIES
NOTE: The AWS IoT Device Shadow library and documentation are part of the FreeRTOS LTS Roadmap. These libraries are fully functional, but undergoing optimizations or refactoring to improve memory usage, modularity, documentation, demo usability, or test coverage. They are available on GitHub or part of the LTS Development Snapshot download

AWS IoT Device Shadow Library

Introduction

The AWS IoT Device Shadow library enables you 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 applications even if the device is offline. The device state captured as its “shadow” is itself a JSON document. You can send commands 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. See Managing Devices with AWS IoT for more information. More details about shadows can be found in AWS IoT documentation. Each library can be freely used and is distributed under the MIT open source license.

 

Code Size of AWS IoT Device Shadow excluding dependencies (example generated with GCC for ARM Cortex-M)
FileWith -O1 OptimisationWith -Os Optimisation
aws_iot_shadow_api.c2.5K2.2K
aws_iot_shadow_subscription.c0.7K0.7K
aws_iot_shadow_static_memory.c0.2K0.1K
aws_iot_shadow_parser.c0.2K0.2K
aws_iot_shadow_operation.c1.3K1.2K
aws_iot_doc_parser.c0.5K0.4K
aws_iot_subscription.c0.2K0.2K
aws_iot_parser.c0.2K0.2K
aws_iot_validate.c0.1K0.1K
aws_iot_operation.c0.2K0.2K
Total estimate (configurations defined here)6.1K5.5K
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.