<?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 library and access to mqtt topics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60209/aws-iot-library-and-access-to-mqtt-topics</link><description>Greets, 
 
 I&amp;#39;m using the aws_iot library atop an nRF9160 successfully to connect and interact with AWS services. 
 The aws_iot_evt_handler_t callback is triggered when messages arrive, but it is passed a pointer to struct aws_iot_evt which is of little</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Apr 2020 16:57:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60209/aws-iot-library-and-access-to-mqtt-topics" /><item><title>RE: AWS IoT library and access to mqtt topics</title><link>https://devzone.nordicsemi.com/thread/245079?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 16:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7ccef21-e507-42fb-a3c1-37f947cdfc77</guid><dc:creator>psychogenic</dc:creator><description>&lt;p&gt;Ok, great.&amp;nbsp; If R&amp;amp;D can implement a cleaner solution than mine, that would be awesome.&amp;nbsp; Access to&lt;/p&gt;
&lt;p&gt;&lt;em&gt;param.publish.message.topic&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;isn&amp;#39;t just verbose, it&amp;#39;s &amp;quot;dangerous&amp;quot;...&lt;/p&gt;
&lt;p&gt;mqtt_evt_param being a union, you have tread carefully when accessing members (e.g. the size of the topic can easily be non-zero if the param is being used as something else) and you windup with trouble.&lt;/p&gt;
&lt;p&gt;Short version, some kind of safe accessor for the topics would be nice.&lt;/p&gt;
&lt;p&gt;In any case, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT library and access to mqtt topics</title><link>https://devzone.nordicsemi.com/thread/245076?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 16:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdfd2af8-398f-41a7-843d-57f7d3cff39b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;No worries! From the information you have provided, it looks like your on a fairly updated master branch from before Easter.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I forwarded your solution to one of our R&amp;amp;D engineers and he confirms the issue. If the&amp;nbsp;workaround works for you, then please use this for now. The engineer informs that your request has been added to the todo list, and a solution will be added in a future release.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT library and access to mqtt topics</title><link>https://devzone.nordicsemi.com/thread/245055?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 14:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf85cbc1-1cdd-466c-b9a9-4d8b4b46f919</guid><dc:creator>psychogenic</dc:creator><description>&lt;p&gt;P.S. I wasn&amp;#39;t being facetious or flippant, there, with &amp;quot;how would I know?&amp;quot;:&amp;nbsp; where is this information stored, there&amp;#39;s no mention of in any top level documents of ncs/ or ncs/nrf...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT library and access to mqtt topics</title><link>https://devzone.nordicsemi.com/thread/245045?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 14:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00abcd48-1328-4e1a-9220-093558f6efd5</guid><dc:creator>psychogenic</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How would I know?&amp;nbsp; I can tell you that the freshest commit shown by a &amp;#39;git log&amp;#39; in the nrf/ subdir (may be from you!) is date Mar 25 2020:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;commit c8fcc56888ab9bb96777fb964e2d2f61c7fc1d0d (HEAD -&amp;gt; master, origin/master)&lt;br /&gt;Author: &amp;Oslash;yvind R&amp;oslash;nningstad &amp;lt;oyvind.ronningstad@nordicsemi.no&amp;gt;&lt;br /&gt;Date: Wed Mar 25 15:40:26 2020 +0100&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT library and access to mqtt topics</title><link>https://devzone.nordicsemi.com/thread/245044?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 14:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe05cef2-18a2-4f07-a310-9ebce2deced5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello P,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What NCS version are you running?&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>