<?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>How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104982/how-to-configure-thread-in-the-mqtt-sn-publisher-project-of-zephyr-sdk</link><description>I want to configure Thread in project mqtt-sn-publisher( https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/net/mqtt_sn_publisher ) and communicate with mqtt-sn-gateway through Thread network. 
 I followed the instruction( https://developer.nordicsemi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2023 01:16:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104982/how-to-configure-thread-in-the-mqtt-sn-publisher-project-of-zephyr-sdk" /><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/452390?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 01:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d0e7f1f-26d9-4d9a-99ff-f4b3b1292338</guid><dc:creator>Llama12580</dc:creator><description>&lt;p&gt;Thank you!! Here is my project.&lt;/p&gt;
&lt;p&gt;I build the project by using command&amp;nbsp; &lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf52840dk_nrf52840&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I used a virtual machine ubuntu and RCP dongle to act as OTBR.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6305.mqtt_2D00_sn.zip"&gt;devzone.nordicsemi.com/.../6305.mqtt_2D00_sn.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/452340?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 15:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa9ea42-cb21-4354-ba60-4c6ff3b14968</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It is possible that you get this error because the permissions required to run Thread is not sufficient un USERSPACE. I do not think that path is the correct way to resolve the issue you are facing.&lt;/p&gt;
&lt;p&gt;I also do not think there is any crash in your first test, but it could be blocking somewhere. There is no logs indicating crash.&lt;/p&gt;
&lt;p&gt;Can you upload your full project for us to debug/reproduce?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/452176?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 08:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ca6cc8-7661-49e1-8703-cf51a408ae23</guid><dc:creator>Llama12580</dc:creator><description>&lt;p&gt;I enabled the CONFIG_USERSPACE, and now when I make my device join Thread Network, it occurs &amp;quot;MPU FAULT&amp;quot;. Could you please help me about that?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/MPU-FAULT.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/452143?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 06:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a29c103b-6bdd-4e35-8ed2-0f9a0fc0a2b3</guid><dc:creator>Llama12580</dc:creator><description>&lt;p&gt;Hello, are you still there? I need your help. Thank you so much !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/451888?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 06:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efcd5269-27f8-4c51-bec0-273d76af61b8</guid><dc:creator>Llama12580</dc:creator><description>&lt;p&gt;Yes, it crashed when the &amp;quot;exit&amp;quot; words in the final line show out and I can&amp;#39;t type in any shell command anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/451886?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 06:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9a94e78-b11e-413e-8fb7-105d21e9d4cd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It does not look like there is any crash in your screenshot. Are you sure that the application crashes?&lt;/p&gt;
&lt;p&gt;The exit message comes from the call to exit&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.3.99-ncs1-1/samples/net/mqtt_sn_publisher/src/main.c#L112"&gt;()&lt;/a&gt;&amp;nbsp;in the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.3.99-ncs1-1/samples/net/mqtt_sn_publisher/src/main.c#L112"&gt;sample source code&lt;/a&gt;, when &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/kconfig/index.html#CONFIG_USERSPACE"&gt;CONFIG_USERSPACE&lt;/a&gt;&amp;nbsp;is not configured.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/451880?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 06:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa758313-7220-4d29-af88-b82b2e69f115</guid><dc:creator>Llama12580</dc:creator><description>&lt;p&gt;Thank you for answering me.&lt;/p&gt;
&lt;p&gt;Like the picture shows, when I run the shell cmd &amp;quot;ot thread start&amp;quot; to make it join Thread, it would show echo &amp;quot;exit&amp;quot; words after a few seconds and then the program crashed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Thread in the mqtt-sn-publisher project of zephyr sdk?</title><link>https://devzone.nordicsemi.com/thread/451879?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 06:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9a23189-bf86-4a19-96c2-7883f3d38fbd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do not have any samples for MQTT-SN in nRF Connect SDK, but you might reference &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104284/trying-to-publish-mqtt-sn-message-with-zephyr-and-openthread"&gt;this other ticket&lt;/a&gt; that tries to do the same thing.&lt;/p&gt;
&lt;p&gt;If this does not help, please provide more details about what you mean by &amp;quot;&lt;span&gt;it always exited after it joined Thread network&lt;/span&gt;&amp;quot;. Can you enable more logging in the sample? Can you provide a sniffer trace of the on-air packets when the problem occurs?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>