<?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>Routing messages in Zigbee mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90705/routing-messages-in-zigbee-mesh</link><description>Dear everyone, 
 I&amp;#39;m new to Zigbee and Nordic development. I&amp;#39;m currently working on Zigbee on nrf52833. I must implement a mesh topology to prove self-healing and self-routing. 
 Here is my configuration : 
 I have three nrf52833. One running the network_coordinator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 19:07:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90705/routing-messages-in-zigbee-mesh" /><item><title>RE: Routing messages in Zigbee mesh</title><link>https://devzone.nordicsemi.com/thread/380450?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 19:07:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6acf9a4-c2b5-416e-9862-19a4872ef06d</guid><dc:creator>romainJ</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;I fixed my issue using this post :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75227/zigbee-mesh-how-to-initiate-the-route-discovery-manually/311990"&gt;RE: [Zigbee-mesh] How to initiate the route discovery manually?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It wasn&amp;#39;t easy for me to understand how the routing was working in Zigbee but now it&amp;#39;s clear.&lt;/p&gt;
&lt;p&gt;Again, thanks for your quick answer, I appreciate.&lt;/p&gt;
&lt;p&gt;Have a nice day.&lt;/p&gt;
&lt;p&gt;Romain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Routing messages in Zigbee mesh</title><link>https://devzone.nordicsemi.com/thread/380406?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 13:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e481c0-7ae9-43b4-903c-f8bf8bf6de7f</guid><dc:creator>romainJ</dc:creator><description>&lt;p&gt;Dear Edvin,&lt;br /&gt;Thanks&amp;nbsp;for you quick answer. I should have gone more in details, sorry.&lt;/p&gt;
&lt;p&gt;So I flashed my nrf with the template projet I found in the NCS in the samples/zigbee folder.&lt;/p&gt;
&lt;p&gt;To make my light_bulb an end device, I used this line :&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;zb_set_network_ed_role(zb_get_channel_mask());&lt;/pre&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;p&gt;And when I check with bdb role it&amp;#39;s written &amp;quot;end device&amp;quot;. That&amp;#39;s the only thing I modified in the light_bulb settings.&lt;/p&gt;
&lt;p&gt;To answer your questions :&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/90705/routing-messages-in-zigbee-mesh/380305"]Your light bulb is a normal end device, and not a sleepy end device, right?[/quote]
&lt;p&gt;Yes that&amp;#39;s right, I didn&amp;#39;t add this feature.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/90705/routing-messages-in-zigbee-mesh/380305"]How do you make the light bulb attach to the router and not the coordinator?[/quote]
&lt;p&gt;I took away my light_bulb from my coordinator so that my light_bulb can only get commissioned by the router.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/90705/routing-messages-in-zigbee-mesh/380305"]And how do you send the ping commands between the devices?[/quote]
&lt;p&gt;I send the ping commands in serial. My coordinator is connected in USB to my computer and I can wrote commands with puTTY.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I only added in the prj.conf file these two lines to make sure I can use zcl commands :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_ZIGBEE_SHELL=y
CONFIG_ZIGBEE_SHELL_ENDPOINT=10&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also I saw this section in the nrf5 SDK documentation :&amp;nbsp;&lt;/p&gt;
&lt;h3 id="mcetoc_1g9n3cea21"&gt;Implementing algorithm for overriding the handling of ZCL commands&lt;/h3&gt;
&lt;p&gt;Do I need to implement something like this to enable routing in my mesh ?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Romain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Routing messages in Zigbee mesh</title><link>https://devzone.nordicsemi.com/thread/380305?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 08:26:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb47bf1b-ccad-478a-9d07-dc5d62a82caa</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you please send me the project that you have used as your template router? And did you do any other changes to the light bulb than setting:&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_ROLE_ROUTER=n&lt;br /&gt;CONFIG_ZIGBEE_ROLE_END_DEVICE=y&lt;/p&gt;
&lt;p&gt;and removing the #error near the top of main.c triggering when CONFIG_ZIGBEE_ROLE_ROUTER is set to n?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Your light bulb is a normal end device, and not a sleepy end device, right? How do you make the light bulb attach to the router and not the coordinator? And how do you send the ping commands between the devices? Is it triggered e.g. from a button press? Can you please send some snippets?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>