<?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>More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79235/more-than-one-device-with-a-leader-role-in-the-same-thread-network</link><description>Hi!! 
 I am facing an issue wherein more than one device is acquiring the leader role in a same thread network. 
 In my setup, I have a total of 4 devices. Three of them are nfr52833_dk and one is nfr52840_dk. I am using the NCS v1.6.1 SDK version to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Oct 2021 15:20:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79235/more-than-one-device-with-a-leader-role-in-the-same-thread-network" /><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/334217?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 15:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8224bf10-5daf-45a3-aab8-36e88240db13</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Thanks, Charlie&lt;/p&gt;
&lt;p&gt;You definitely saved the day for me.&amp;nbsp;I was also facing some issues running OTBR&amp;nbsp;with the same kit,&amp;nbsp;probably it&amp;#39;s to do with the same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Mohinish Naik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/334046?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 07:47:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9179c552-266b-4c64-bb72-419c823ecf1f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Mohinish,&lt;/p&gt;
&lt;p&gt;The board in your hand using &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcomp_matrix_nrf52840%2FCOMP%2Fnrf52840%2FnRF52840_ic_rev_comp_with_dev_hw.html&amp;amp;cp=4_0_3_3"&gt;the first engineering version&lt;/a&gt; of nRF52840 SoC, it is not wise to develop your product based on it. There might be some &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Ferrata_nRF52840_EngA%2FERR%2FnRF52840%2FEngineeringA%2Flatest%2Ferr_840_new.html&amp;amp;cp=4_0_1_6_1"&gt;errata &lt;/a&gt;that&amp;nbsp;introduce this issue. The nRF52840 PDK is only used for evaluation purposes for our key customers, once a formal DK board is released, you should switch&amp;nbsp;to it as soon as possible. NCS coap examples do not claim support on&amp;nbsp;&lt;span&gt;nRF52840 PDK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/334003?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 17:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dcf0231-4223-4f92-8cca-dfd3487c2d1e</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Yes, I think we had ordered them at the very beginning. Also is written nRF52840-Preview-DK on development kits see.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20211013_5F00_222403.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/333971?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 13:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd08eca-ae37-43ba-906e-eae64c012d0a</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Mohinish,&lt;/p&gt;
&lt;p&gt;I tested with your firmwares, and this is no&amp;nbsp;issue with my hardware setup.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s your hardware version of DKs? are they purchased a long time ago?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1832.ot_5F00_coap_5F00_test.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/333321?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 19:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed1bb2e2-6c23-48a0-a59d-2fcff169eea7</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Added below zip files containing hex&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8345.coap_5F00_client.zip"&gt;devzone.nordicsemi.com/.../8345.coap_5F00_client.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/coap_5F00_server.zip"&gt;devzone.nordicsemi.com/.../coap_5F00_server.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/332386?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 13:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e8418c-5050-463a-bd8d-56f1d9e948f8</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;No, I mean the &lt;span&gt;zephyr&lt;/span&gt;.hex file located on your build folder zephyr/zephyr.hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/332198?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 18:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ab44e09-7270-45f7-bb6c-606459c90780</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;What exactly do you want me to share of firmware? Do you need the entire sample example folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/332091?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 09:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd51cf0-0744-465b-9f3f-dbfa55b8d057</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Mohinish,&lt;/p&gt;
&lt;p&gt;Does this mean even when you have&amp;nbsp;the&amp;nbsp;coap_client (nrf52840_dk) and another coap_sever(nrf52833_dk), they will still not work as step3?&lt;/p&gt;
&lt;p&gt;Can you share their firmware with me? I can help you can firmware if&amp;nbsp;this is a hardware or software issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/332009?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 17:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53990d1b-22a7-48b2-9a3f-4869022ca138</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Charlie,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I installed the NCS on a fresh PC and tried the above steps but giving the same issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My bigger worry is this part actually:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;But once I turn on the nfr52840_dk (running coap_client), I can see it also acquire a leader role.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;After few seconds the devices with router and child role change to the leader role. Thus resulting in multiple leaders role devices in the same thread network&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am not able to get this part.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/329366?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 09:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f38d4589-1955-4d3b-a62e-f22393caf087</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Yes, I test with the original&amp;nbsp;&lt;span&gt;NCS v1.6.1 SDK samples.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;According to the symptom,&amp;nbsp;your coap_client does not join the coap_servers&amp;#39; network. It is either its hardware or firmware that has problems.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please reinstall&amp;nbsp;NCS v1.6.1 to get a clean-build coap_client firmware and program it to another DK board to try.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/329261?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 13:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77fa9dfd-932c-414e-9212-770ffe41ed99</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As&amp;nbsp;per Step 3 on button 2 press of coap client device, LED 2 of coap server device do not toggle.&lt;/p&gt;
&lt;p&gt;I suppose you tried this exercise with the&amp;nbsp;&lt;span&gt;NCS v1.6.1 SDK sample.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/328769?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 10:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1b2111b-31c8-40e7-bafc-2bcc3663134f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Mohinish,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply, I&amp;nbsp;finally get two&lt;span&gt;&amp;nbsp;nRF52833DKs to do the test. Now I have two nRF52833DKs as coap_severs and one nRF52840DK as a coap_client.&amp;nbsp;&lt;/span&gt;&lt;span&gt;They have the same result as my former experiment.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Again, I suspect your coap_client does not join the coap_servers&amp;#39; network, Is step3 work as expected on your setup?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/328379?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 11:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205f306d-214a-4d7f-8150-7abb61be998c</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Can you try reproducing the issue with 2 nrf52833DK and 1 nrf52840DK board in your setup?&lt;/p&gt;
&lt;p&gt;As I get this issue whenever I run the samples on dissimilar DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More than one device with a leader role in the same thread network.</title><link>https://devzone.nordicsemi.com/thread/327982?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 13:08:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c516da3-6030-49f3-add8-b16f55cb913b</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Mohinish,&lt;/p&gt;
&lt;p&gt;This sounds weird. I suppose this should not be related to hardware so I tested with 3 nrf52840DK boards, one for coap_client and two as coap_severs, all connected with putty to monitor their state. Here are my testing steps.&lt;/p&gt;
&lt;p&gt;1. Power on two coap_servcers first. Run &amp;quot;ot state&amp;quot; command show one become a&amp;nbsp;&lt;strong&gt;leader&lt;/strong&gt; and another become &lt;strong&gt;router&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;2. Power on coap_client, it becomes a&amp;nbsp;&lt;strong&gt;router&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;3. Press button 2 of coap_client, coap_server devices &lt;strong&gt;LED2 can be toggled&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;When programming the firmware I use &amp;quot;&lt;strong&gt;west flash --erase&lt;/strong&gt;&amp;quot; to clean up potential former OT settings.&lt;/p&gt;
&lt;p&gt;I suspect the&amp;nbsp;&lt;span&gt;coap_client did not really join the existing OT network, so it created a new one and self-assigned as a leader&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please pay attention to the above bold content and try to repeat the test to see if the problem still exists.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>