<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80826/aws-iot-shadows</link><description>Hi all, 
 I am working on an application that uses AWS IoT via LTE/NB-IoT. I&amp;#39;ve got the connection working, and I can publish/read to un-named shadow topic and to custom topics. Now I want to add some named shadows and get some more control over the whole</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Nov 2021 16:03:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80826/aws-iot-shadows" /><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/338426?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 16:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d1c1c7-76cf-48da-ac80-63fcdcba07eb</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can follow the&amp;nbsp;documentation here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html?cp=10_3_3"&gt;https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html?cp=10_3_3&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/338001?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 17:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f22d7615-6af8-480b-9bd8-758ad400aa55</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;How should I do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/337553?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 15:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e703a34-65a1-408b-b8cc-6c8172a65715</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Okay, so you&amp;#39;ve confirmed that your named shadows are being published but you&amp;#39;re not receiving them on your nRF9160 DK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you take a modem trace while the application is running so we can take a closer look?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/336869?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 13:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a30ab3fa-470a-4121-aa8b-cfb4221e665f</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve used both aws test client and mqtt.fx software to connect and verify that my named shadows work as intended. But for unknown reasons, my nrf9160dk board only works properly for the classic(un-named) shadows. I have verified that custom topics do work properly for nrf9160dk on aws iot.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Aleksa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/336855?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 12:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b31289-1515-40e4-8d7f-9d7b19a2aeb5</guid><dc:creator>Heidi</dc:creator><description>[quote user="Aleksa"]However if I want to subscribe to named shadow deltas, shouldn&amp;#39;t it be:&lt;br /&gt;&amp;quot;$aws/things/&amp;lt;deviceId&amp;gt;/shadow/name/+/update/delta&amp;quot;[/quote]
&lt;p&gt;Yes, you are correct, my previous answer has been edited.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Aleksa"]I am unable to receive messages yet from named shadows.[/quote]
&lt;p&gt;&lt;span&gt;You can subscribe on the same topic in the AWS IoT console in the browser (see the image below) to see what&amp;#39;s getting sent/received (see &lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/view-mqtt-messages.html?icmpid=docs_iot_hp_testclient"&gt;View MQTT messages with the AWS IoT MQTT client&lt;/a&gt;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2402.pastedimage1635769713864v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/335869?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 08:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac2cb13f-3903-41ab-945f-e3d97aa938ee</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;Hi Heidi!&lt;br /&gt;&lt;br /&gt;Thanks for a fine answer. However if I want to subscribe to named shadow deltas, shouldn&amp;#39;t it be:&lt;br /&gt;&amp;quot;$aws/things/&amp;lt;deviceId&amp;gt;/shadow/name/+/update/delta&amp;quot;&lt;br /&gt;I am unable to receive messages yet from named shadows. Hopefully will get there soon.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Aleksa&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Shadows</title><link>https://devzone.nordicsemi.com/thread/335807?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 14:38:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd25f7af-9bce-4433-90af-68b2834fef6b</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, they behave exactly the same.&lt;/p&gt;
&lt;p&gt;You can subscribe to all shadow topics of a device using the wildcard topic for the device: &amp;quot;$aws/things/&amp;lt;deviceId&amp;gt;/shadow/#&amp;quot;. However you most likely only want the delta topics: &amp;quot;$aws/things/&amp;lt;deviceId&amp;gt;/shadow/+/update/delta&amp;quot; will subscribe to all &lt;strong&gt;named&lt;/strong&gt;&amp;nbsp;shadow deltas. You should not mix named and classic shadows.&lt;/p&gt;
&lt;p&gt;The number of topics in the firmware is needed to reserve space for the topic string, and a wildcarded topic also counts as 1 (one) topic.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>