<?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>NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95731/nrf52840-openthread-azure-iot-hub-mqtt-sample</link><description>Hi! 
 
 I am looking for a NRF52840+OpenThread+Azure IoT Hub SDK solution. Here is what I did so far. Nothing helped: 
 
 Thead CLI Example on NRF52840 + Border Router on PI with RCP NRF52840 is working. I can ping ipv6 in mesh and outside mesh. I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2025 07:42:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95731/nrf52840-openthread-azure-iot-hub-mqtt-sample" /><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/525201?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 07:42:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e1cf54b-91be-4485-852e-22c92a9f6cb6</guid><dc:creator>SebastianCorin</dc:creator><description>&lt;p&gt;unfortunately not. I decided to pause the project.&lt;br /&gt;&lt;br /&gt;It is long time ago but I think there was an issue with TCP. The TCP implementation which was automatically used was not able to reach the internet. PINGs where possible.&lt;br /&gt;&lt;br /&gt;My workaround, which I think is okay, was:&lt;br /&gt;nrf52840-&amp;gt;CoAP-&amp;gt;CoAP-Bridge on e.g. the raspberryPi of the Borderrouter -&amp;gt; Bridge is sending payload via e.g. python to any endpoint e.g. Azure IoT Hub HTTP-endpoint&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/524895?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 16:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b9fd857-5738-4814-897b-301b48549e56</guid><dc:creator>NYCdream</dc:creator><description>&lt;p&gt;Sebastian, were you able to successfully make this combination work?&amp;nbsp; We are looking at nrf52840+open thread+mqtt+Azure iot hub also.&amp;nbsp; Thanks and let me know if you have had success&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/407592?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 14:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f81648-1ef6-4266-9428-39fc207fd451</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;div&gt;most of the OT features are enabled from Zephyr from this &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/modules/openthread/CMakeLists.txt#L175"&gt;CMake file&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;as for the DNS4 test, I guess more information is needed about the setup and logs. Is there a properly configured and connected border router in the Thread network? are there some Wireshark files to know what&amp;#39;s going on with that DNS packet?&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/407179?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 18:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5afd933-bf0e-4d1a-8988-fea5530ebeb4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am sorry for delays Sebastian, I did not manage to get in contact with the team, I will try to do so tomorrow. Thanks a lot for your patience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/406372?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 06:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f39d921-804c-45f9-9178-01db766b27bc</guid><dc:creator>SebastianCorin</dc:creator><description>&lt;p&gt;Thanks. How did you derive the name of&amp;nbsp;&lt;span&gt;CONFIG_OPENTHREAD_DNS_CLIENT?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried. This time resolve4 is known but I get a timeout when I call&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;ot dns resolve4 google.com
DNS response for google.com.-
Error 28: ResponseTimeout&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/406019?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 12:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b89300-3a48-4542-9811-96563ff0649f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/openthread/openthread/blob/main/src/core/config/dns_client.h#L58"&gt;OPENTHREAD_CONFIG_DNS_CLIENT_NAT64_ENABLE=y&lt;/a&gt;&amp;nbsp;should be default set to y when CONFIG_OPENTHREAD_DNS_CLIENT is enabled. If this is not the case, then there seems to be some conflicts in your project configuration and the build system should have some warning when compiling. If that is not the case, then I can report this issue to the developers.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="left:-62px;top:-20.0028px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/405967?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 08:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d6c541-caf8-4787-a97a-e42d99713b3d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry for the late reply Sebastian, I do not have any other idea, but will double check with the networking team to get their insights aswell. I will come back to you as soon as they give me any response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/405335?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 20:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb9854c2-e956-47fe-8363-201ed0477a09</guid><dc:creator>SebastianCorin</dc:creator><description>&lt;p&gt;I am still trying to find a solution. Currently I am&amp;nbsp;working on the zephyr Azure MQTT sample. I run there in the same problem. The dns resolve of the ipv4 of the Azure IoT Hub fails. I found the following commit which enables resolve4 which looks promising:&amp;nbsp;&lt;a href="https://github.com/openthread/openthread/pull/6414"&gt;[dns-client] add support for NAT64 during address resolution by abtink &amp;middot; Pull Request #6414 &amp;middot; openthread/openthread (github.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But how can I&amp;nbsp;set&amp;nbsp;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;OPENTHREAD_CONFIG_DNS_CLIENT_NAT64_ENABLE=y&lt;/pre&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;*edit: I ported the Azure MQTT sample from zephyr into the openthread cli sample from nrfconnect&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/405198?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 10:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a90e9cd8-f939-4299-886e-1885afab40cd</guid><dc:creator>SebastianCorin</dc:creator><description>&lt;p&gt;okay, thanks for the quick reply.&lt;/p&gt;
&lt;p&gt;Is there a working example for NRF52840 + Openthread + Plain MQTT? I see projects on github but never a complete working sample.&lt;/p&gt;
&lt;p&gt;I heard about ipv6 and native mqtt support for the Azure IoT Hub which might changes the situation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What would you recommend to go for in the meantime? Coap Client on NRF52840 and a Coap bridge in the cloud is currently my next idea. Do you&amp;nbsp;have another idea?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample</title><link>https://devzone.nordicsemi.com/thread/405183?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 09:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2ca6c39-13ea-4edc-beac-2e5e5c6490b7</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]My ask is a working sample with Azure IoT Hub and Openthread / MQTT and Openthread.[/quote]
&lt;p&gt;We unfortunately do not have a working sample&amp;nbsp;supporting&amp;nbsp;this combo. Do not see in the roadmap for this either. We do not have the resources to test and debug features/combos that are not supported yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>