<?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>New device joining via zigbee router</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71894/new-device-joining-via-zigbee-router</link><description>I am working on zigbee network. 
 ZB_DEFAULT_PERMIT_JOINING_DURATION = 0xFF, this macro is defined in &amp;quot;zb_config_common.h&amp;quot; which indicates that network joining window won&amp;#39;t close, means device can join at any time. 
 In my case after some time my end</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 14:32:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71894/new-device-joining-via-zigbee-router" /><item><title>RE: New device joining via zigbee router</title><link>https://devzone.nordicsemi.com/thread/296591?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 14:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4ac3734-043e-4096-b16f-021a6bfcd2c0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for the delay, I asked a colleague about this to make sure, and I also&amp;nbsp;tested&amp;nbsp;several things myself.&lt;/p&gt;
&lt;p&gt;My original assessment was incorrect.&amp;nbsp;&lt;span&gt;ZB_BDBC_MIN_COMMISSIONING_TIME_S doesn&amp;#39;t affect the commissioning period, neither does any other of the defines in the SDK. This time is set in the ZBOSS stack, and can therefore not be changed.&amp;nbsp;&lt;/span&gt;&lt;span&gt;I tried changing&amp;nbsp;&lt;/span&gt;ZB_ZGP_DEFAULT_COMMISSIONING_WINDOW as well, but that doesn&amp;#39;t affect the network, merely the app alarm. This alarm is started with&amp;nbsp;ZB_SCHEDULE_APP_ALARM, which will cause a callback to be executed after the timeout. This is for instance used to notify that network steering has finished by using the callback steering_finished(), which simply prints&amp;nbsp;&amp;quot;Network&amp;nbsp;steering&amp;nbsp;finished&amp;quot; and turn off a LED.&lt;/p&gt;
&lt;p&gt;Since the commissioning period can&amp;#39;t be changed, an option is to reopen the network every time network steering is finished. Permit joining will then be disabled only for a short time before the network reopen again, and it shouldn&amp;#39;t be noticeable to the user, as the node that wants to join the network will look for&amp;nbsp;a network to join for longer than the network is closed anyway. You can then use the network steering app alarm so that when you get notified that network steering is finished, you&amp;#39;ll open the network again with&amp;nbsp;&lt;span&gt;ZB_SCHEDULE_APP_ALARM&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;steering_finished&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;ZB_TIME_ONE_SECOND&lt;/span&gt;&lt;span&gt;&amp;nbsp;*&amp;nbsp;&lt;/span&gt;&lt;span&gt;ZB_ZGP_DEFAULT_COMMISSIONING_WINDOW&lt;/span&gt;&lt;span&gt;). You can find an example of how this is used in the light coordinator example.&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;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New device joining via zigbee router</title><link>https://devzone.nordicsemi.com/thread/296420?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 07:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80ff4dde-be42-45ec-acfa-2164a338c9ee</guid><dc:creator>Bhavit Rajput</dc:creator><description>&lt;p&gt;&lt;span class="ui-userpresence ui-tip present"&gt;Hi Marte,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you please&amp;nbsp;answer me that above point is possible or not?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New device joining via zigbee router</title><link>https://devzone.nordicsemi.com/thread/295916?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 17:03:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5784f683-928f-4c81-aaa3-da55e5f7fb62</guid><dc:creator>Bhavit Rajput</dc:creator><description>&lt;p&gt;What if I&amp;#39;ll set&amp;nbsp;&lt;span&gt;ZB_BDBC_MIN_COMMISSIONING_TIME_S to 0xFF, then will network be opened permanently?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New device joining via zigbee router</title><link>https://devzone.nordicsemi.com/thread/295875?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 14:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f22d273-f802-43a6-83a9-456baeea16ba</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The coordinator is the one that has to open the network for nodes to join, but you should be able to join through a router, as the router forwards the request to the coordinator. Because of this, the router that forwards the request must be in range of the coordinator or other routers in order to forward the request.&lt;/p&gt;
&lt;p&gt;The commissioning period is by default 180 seconds, and is not affected by&amp;nbsp;&lt;span&gt;ZB_DEFAULT_PERMIT_JOINING_DURATION, but is set by&amp;nbsp;&lt;/span&gt;ZB_BDBC_MIN_COMMISSIONING_TIME_S. Y&lt;span&gt;ou can open the network by calling&amp;nbsp;&lt;/span&gt;&lt;span&gt;bdb_start_top_level_commissioning&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;ZB_BDB_NETWORK_STEERING&lt;/span&gt;&lt;span&gt;) on the coordinator. This is done in the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_example_light_control.html"&gt;light control example&lt;/a&gt;, where the coordinator reopen the network when button 1 is pressed.&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;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>