<?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>Zigbee Install Codes Setting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61783/zigbee-install-codes-setting</link><description>Hi, 
 I&amp;#39;m trying to implement Install Codes on our project without good results: The end device could not join the coordinator network after retrying several times. 
 Because of that, we started with 2 cli agents (1 router and 1 coordinator) 
 
 On coordinator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 08 Aug 2020 14:08:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61783/zigbee-install-codes-setting" /><item><title>RE: Zigbee Install Codes Setting</title><link>https://devzone.nordicsemi.com/thread/263704?ContentTypeID=1</link><pubDate>Sat, 08 Aug 2020 14:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a88f1ee9-724c-492b-ad0e-7dfd520c61d0</guid><dc:creator>sjf</dc:creator><description>&lt;p&gt;Install code was set before defining role. That was the issue. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Install Codes Setting</title><link>https://devzone.nordicsemi.com/thread/251855?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 08:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e32975d4-cb5b-4a32-b877-6404058f7c04</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. It seems like you are setting the wrong zigbee role on the router, if you type &amp;quot;bdb role zc&amp;quot; you are assigning it the coordinator role.&lt;/p&gt;
&lt;p&gt;Try using &amp;quot;bdb role zr&amp;quot; on the router device. You don&amp;#39;t need to call &lt;span&gt;&lt;/span&gt;&lt;span&gt;zb_tc_set_use_installcode().&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You should also define the policy (calling &amp;#39;bdb ic policy enable&amp;#39;) before calling &amp;#39;bdb start&amp;#39;. See the preconditions for using &amp;#39;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_example_cli_reference.html&amp;amp;anchor=ic"&gt;bdb ic&lt;/a&gt;&amp;#39; commands on the infocenter.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Marjeris&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Install Codes Setting</title><link>https://devzone.nordicsemi.com/thread/251570?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 20:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbb83143-4355-43a0-9f99-ea21a30d0d32</guid><dc:creator>sjf</dc:creator><description>&lt;p&gt;I&amp;#39;ve seen there is an API called&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;zb_tc_set_use_installcode&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;zb_uint8_t&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;use_ic&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This need to be invoked too?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>