AWS IoT SDK - work with Shadow - SDK API vs MQTT

vlad-hid wrote on November 14, 2019:

Hi all,

AWS IoT SDK provides us with API functions to work with Thing Shadow.
But at the same time I may work with Shadow via ordinary MQTT and special topics.
While 1st way should be simpler I personally found 2nd more clear and convenient.
Am I loosing some features working with plain MQTT for shadows? Or both ways are equally good for this purpose?

Carl-Lundin-AWS wrote on November 14, 2019:

Hello vlad-hid,

We are actively developing AWS featured libraries, and shadow is one of them. Provided libraries may receive better support but I recommend using whatever method works best for your use case.

Here is a link to the shadow library documentation. https://docs.aws.amazon.com/freertos/latest/lib-ref/c-sdk/shadow/index.html. This may paint a clearer picture and help you decide as to what method you prefer.

vlad-hid wrote on November 15, 2019:

Thanks Carl-Lundin-AWS, it’s more clear now.

And thanks again for the link - somehow I failed to find this link from https://docs.aws.amazon.com/ when I did my project (even now I don’t see it there - probably it is missed or badly named…). I got very similar one from Google but it was not fully operational and looked a bit strange.

Carl-Lundin-AWS wrote on November 18, 2019:

Hello vlad-hid,

I’m sorry to hear that you were lead to a broken link.

Here are some additional sources if you should need them in the future. In this first link you will find the documentation for our other libraries as well.

https://docs.aws.amazon.com/freertos/latest/userguide/freertos-lib-cloud-shadows.html
https://docs.aws.amazon.com/search/doc-search.html?searchPath=documentation&searchQuery=FreeRTOS%20Shadow