AWS IoT Device SDK C  202103.00
SDK for connecting to AWS IoT from a device using embedded C.
AWS IoT Device Shadow

How to migrate a AWS IoT Device Shadow application from v3 to 202009.00 and subsequent releases.

The Device Shadow library has been redesigned in this release. The new design has the following differences as compared to the Device Shadow library in v3 of the AWS IoT Device SDK for Embedded C.

  • The new Device Shadow library is completely decoupled from the underlying MQTT Client library. The v3 Device Shadow library, on the other hand, depended on the MQTT Client library present in the v3 of AWS IoT Device SDK for Embedded C.
  • The new Device Shadow library does not have any code for constructing JSON files. The v3 Device Shadow library, on the other hand, contained code for constructing JSON files in the format expected by the AWS IoT Device Shadow Service.
  • The new Device Shadow library provides simple convenience macros and functions for handling MQTT topic strings as defined by AWS IoT Device Shadow Service. The v3 Device Shadow library, on the other hand, provided a complete set of APIs for interacting with the AWS IoT Device Shadow Service by using a MQTT Client library.

The application can use the new Device Shadow library with their choice of MQTT Client library by following the call sequence diagram in the Design document.

See the Device Shadow demo application for sample code.