<?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>Set Autocommissioning false in nrfConnect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83275/set-autocommissioning-false-in-nrfconnect-sdk</link><description>In nRF_SDK_for _Tread_and_Zigbee, we used to set autocommissioning as false in the &amp;quot;thread_configuration_t&amp;quot; configuration and then start joined so that my thread node used to get commission on my thread network. 
 Now I want to implement similar functionality</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jan 2022 13:50:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83275/set-autocommissioning-false-in-nrfconnect-sdk" /><item><title>RE: Set Autocommissioning false in nrfConnect SDK</title><link>https://devzone.nordicsemi.com/thread/345932?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 13:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f47134-e7a6-4c7c-af78-2a8eb893a29b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I misunderstood your question first, the configurations you mentions are indeed the correct ones.&lt;/p&gt;
&lt;p&gt;I took the zephyr hello world sample and added some configurations to make it an OpenThread automatic joiner. &lt;br /&gt;It seems to work for me. &lt;br /&gt;You of course will have to set up the commissioner yourself, for example with the openthread/cli sample:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;ot ifconfig up
ot thread start
ot commissioner start
ot commissioner joiner add * TESTTESTTEST&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The joiner is added as a zip below, or if you only want the prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Network shell
CONFIG_SHELL=y
CONFIG_OPENTHREAD_SHELL=y
CONFIG_SHELL_ARGC_MAX=26
CONFIG_SHELL_CMD_BUFF_SIZE=416

# Generic networking options
CONFIG_NETWORKING=y
CONFIG_NET_L2_OPENTHREAD=y

# Enable OpenThread features set
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y

CONFIG_OPENTHREAD_NETWORKKEY=&amp;quot;00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff&amp;quot;
CONFIG_OPENTHREAD_PANID=1234

CONFIG_OPENTHREAD_MANUAL_START=n
CONFIG_OPENTHREAD_JOINER=y
CONFIG_OPENTHREAD_JOINER_AUTOSTART=y
CONFIG_OPENTHREAD_JOINER_PSKD=&amp;quot;TESTTEST&amp;quot;
CONFIG_SHELL_STACK_SIZE=3168

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/openthread_5F00_automatic_5F00_joiner.zip"&gt;devzone.nordicsemi.com/.../openthread_5F00_automatic_5F00_joiner.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does this work for you?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Autocommissioning false in nrfConnect SDK</title><link>https://devzone.nordicsemi.com/thread/345862?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 10:39:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89709af7-f96a-4788-bf51-a06a18f2dc7d</guid><dc:creator>Bhumika</dc:creator><description>&lt;p&gt;There is a crash I am seeing when the node is trying to attach to my existing thread network.&lt;/p&gt;
&lt;p&gt;Also, I have increased the&amp;nbsp;&lt;a class="reference external" title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/kconfig/CONFIG_SHELL_STACK_SIZE.html#std-kconfig-CONFIG_SHELL_STACK_SIZE"&gt;&lt;code class="xref std std-kconfig docutils literal notranslate"&gt;&lt;span class="pre"&gt;CONFIG_SHELL_STACK_SIZE&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;to&amp;nbsp;&lt;/span&gt;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;3168. and enabled&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;a class="reference external" title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/kconfig/CONFIG_OPENTHREAD_JOINER.html#std-kconfig-CONFIG_OPENTHREAD_JOINER"&gt;&lt;code class="xref std std-kconfig docutils literal notranslate"&gt;&lt;span class="pre"&gt;CONFIG_OPENTHREAD_JOINER&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;y and also enabled&amp;nbsp;&lt;a class="reference external" title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/kconfig/CONFIG_OPENTHREAD_JOINER_AUTOSTART.html#std-kconfig-CONFIG_OPENTHREAD_JOINER_AUTOSTART"&gt;&lt;code class="xref std std-kconfig docutils literal notranslate"&gt;CONFIG_OPENTHREAD_JOINER_AUTOSTART&lt;/code&gt;&lt;/a&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.114,898] &amp;lt;inf&amp;gt; net_l2_openthread: OpenThread version: OPENTHREAD/69eb7030c-dirty; Zephyr; Jan  4 2022 15:43:19
[00:00:00.115,509] &amp;lt;inf&amp;gt; net_l2_openthread: Starting OpenThread join procedure.
[00:00:00.116,149] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x0900900b Current role: 0
[00:00:05.045,654] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x0800c00b Current role: 0
[00:00:05.745,635] &amp;lt;err&amp;gt; os: ***** MPU FAULT *****
[00:00:05.745,635] &amp;lt;err&amp;gt; os:   Stacking error (context area might be not valid)
[00:00:05.745,635] &amp;lt;err&amp;gt; os: r0/a1:  0xaaaaaaaa  r1/a2:  0xaaaaaaaa  r2/a3:  0xaaaaaaaa
[00:00:05.745,666] &amp;lt;err&amp;gt; os: r3/a4:  0xaaaaaaaa r12/ip:  0xaaaaaaaa r14/lr:  0xaaaaaaaa
[00:00:05.745,666] &amp;lt;err&amp;gt; os:  xpsr:  0xaaaaaa00
[00:00:05.745,666] &amp;lt;err&amp;gt; os: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
[00:00:05.745,697] &amp;lt;err&amp;gt; os: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
[00:00:05.745,697] &amp;lt;err&amp;gt; os: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
[00:00:05.745,697] &amp;lt;err&amp;gt; os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
[00:00:05.745,727] &amp;lt;err&amp;gt; os: fpscr:  0x00000000
[00:00:05.745,727] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0xaaaaaaaa
[00:00:05.745,758] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
[00:00:05.745,758] &amp;lt;err&amp;gt; os: Current thread: 0x20001d70 (openthread)
[00:00:06.321,624] &amp;lt;err&amp;gt; fatal_error: Resetting system
[00:00:00.003,601] &amp;lt;inf&amp;gt; ieee802154_nrf5: nRF5 802154 radio initialized
[00:00:00.109,161] &amp;lt;inf&amp;gt; fs_nvs: 8 Sectors of 4096 bytes
[00:00:00.109,191] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
[00:00:00.109,191] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
[00:00:00.110,107] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00038200 Current role: 0&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Autocommissioning false in nrfConnect SDK</title><link>https://devzone.nordicsemi.com/thread/345799?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 07:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39df67da-4931-405f-8ebe-72f3630eb7db</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Bhumika&lt;/p&gt;
&lt;p&gt;Use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/kconfig/CONFIG_OPENTHREAD_MANUAL_START.html#std-kconfig-CONFIG_OPENTHREAD_MANUAL_START"&gt;CONFIG_OPENTHREAD_MANUAL_START&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For more information on Thread configurations see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/ug_thread_configuring.html"&gt;Configuring Thread in nRF Connect SDK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Autocommissioning false in nrfConnect SDK</title><link>https://devzone.nordicsemi.com/thread/345646?ContentTypeID=1</link><pubDate>Mon, 03 Jan 2022 11:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33907df0-c1f1-4e76-8659-5163db289853</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Due to first day after Christmas Holidays we will look into your questions tomorrow.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>