<?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 set node permanently as Leader/Router?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60202/how-to-set-node-permanently-as-leader-router</link><description>Hi all, 
 I am testing the OpenThread connection with 3 nodes at the present, 
 One is working as End-device with MTD (Minimal Thread Device) firmware others are FTD (Full Thread Device) . 
 The problem is that I want to keep the Leader/Router node stable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2020 06:36:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60202/how-to-set-node-permanently-as-leader-router" /><item><title>RE: How to set node permanently as Leader/Router?</title><link>https://devzone.nordicsemi.com/thread/246965?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 06:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4807924b-2640-46f6-884e-ebc6e98a6c0f</guid><dc:creator>Pan N Do</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;Thank you for the answering, it works!&lt;/p&gt;
&lt;p&gt;I increased the leader weight by passing weight = 200 (default = 64) to &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.0.0/group__api-thread-router.html#ga0392e445a417ff04f2289e5f7d8a23b3"&gt;otThreadSetLocalLeaderWeight&lt;/a&gt;() and &lt;/p&gt;
&lt;p&gt;called &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.0.0/group__api-thread-router.html#ga6058f4c435d6ae0e939834ee659ebbf5"&gt;otThreadBecomeLeader&lt;/a&gt;() whenever its role changes to not leader simultaneous&lt;strong&gt;. The node takes Leader role back from another node.&lt;/strong&gt;&lt;span style="font-size:12pt;"&gt;&lt;span&gt;&lt;strong&gt;&lt;/strong&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 set node permanently as Leader/Router?</title><link>https://devzone.nordicsemi.com/thread/244923?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:776e742c-fde1-474a-b989-d7ae1eb8ec92</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Every partition requires one leader in order to function properly. The first router that starts the network will always become the leader. This is by design, to make sure the network is self-healing, in case the leader stops working, or the network is split into more than one partition.&lt;/p&gt;
&lt;p&gt;You can try to promote the node that you want to have the leader-role by calling&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.0.0/group__api-thread-router.html#ga6058f4c435d6ae0e939834ee659ebbf5"&gt;otThreadBecomeLeader&lt;/a&gt;(). You may also try to increase the leader weight by calling&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.0.0/group__api-thread-router.html#ga0392e445a417ff04f2289e5f7d8a23b3"&gt;otThreadSetLocalLeaderWeight&lt;/a&gt;() to make it more probable that that node becomes the leader when partitions merge.&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>