<?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>NRF52840 Zigbee Meshing Capabilities</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80449/nrf52840-zigbee-meshing-capabilities</link><description>Hello, 
 I have been developing code for this chip for a while now. In the beginning, I was using the end device role but after a couple of months, I decided to change it to router mode. Ideally, this would allow for the nodes to create a mesh network</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Oct 2021 12:20:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80449/nrf52840-zigbee-meshing-capabilities" /><item><title>RE: NRF52840 Zigbee Meshing Capabilities</title><link>https://devzone.nordicsemi.com/thread/336199?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 12:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffcbfe63-2413-4cbf-a3b3-788b5abc7c2a</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Fernando,&lt;/p&gt;
&lt;p&gt;I cannot see any other reason for the Unimplemented signal by looking at the sniffer log. I see that the coordinator send a Routing Table Request, and that the node, in this case&amp;nbsp;0xf4ce363a823b69fd, responds with a malformed Routing Table Response with status &amp;#39;Not Supported&amp;#39;.&amp;nbsp;Thus, this is likely the issue and the reason you are getting unimplemented signal, as the Routing Table Response is not implemented.&lt;/p&gt;
[quote user="Fernando Fontes"] I believe that all of them are in the range of the coordinator.[/quote]
&lt;p&gt;I see all of them in the Link Status command of the coordinator. This means that all of them are neighbors of the coordinator, and that they are in range of it. The outgoing cost of some of the coordinators links are high, but none are out of range.&lt;/p&gt;
[quote user="Fernando Fontes"] it seems that 0&lt;span&gt;xf4ce36b839b9ac59 is being routed&lt;/span&gt;[/quote]
&lt;p&gt;I could not see that packets to or from this node is being routed from the sniffer log. The cost of the outgoing link from the coordinator to&amp;nbsp;0xf4ce36b839b9ac59 is high, 6 on a scale from 1-7, but they are still neighbors. The router reports attributes which the coordinator responds to, and the packets are not being routed through another node. However, I do see that&amp;nbsp;0xf4ce363a823b69fd&amp;nbsp;does not have 0xf4ce36b839b9ac59 as a neighbor, as it does not show up in the Link Status command of&amp;nbsp;0xf4ce363a823b69fd. The node does show up in the link status command of&amp;nbsp;0xf4ce36b839b9ac59 though.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Zigbee Meshing Capabilities</title><link>https://devzone.nordicsemi.com/thread/335957?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 12:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58cccacc-0f16-4aa4-8a6a-628f6efb4ab0</guid><dc:creator>Fernando Fontes</dc:creator><description>&lt;p&gt;Hello Marte,&lt;br /&gt;&lt;br /&gt;Sorry for forgetting about the network key. The network key is:&amp;nbsp;01:03:05:07:09:0B:0D:0F:00:02:04:06:08:0A:0C:0D.&lt;/p&gt;
&lt;p&gt;Regarding the Unimplemented signal, yes, generally it appears after the routing table request. But it could be for some other reason that I&amp;#39;m not getting.&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/80449/nrf52840-zigbee-meshing-capabilities/335892#335892"]Am I understanding your figure correctly that nodes 0xf4ce363a823b69fd and&amp;nbsp;0xf4ce3686907ea954 send directly to the coordinator, while packets from or to&amp;nbsp;0xf4ce36b839b9ac59 is routed through&amp;nbsp;0xf4ce363a823b69fd? If so, this would make sense if both&amp;nbsp;0xf4ce363a823b69fd and&amp;nbsp;0xf4ce3686907ea954 are still in range of the coordinator, while&amp;nbsp;0xf4ce36b839b9ac59 is out of it&amp;#39;s range, but still in range of the router that is furthest away,&amp;nbsp;0xf4ce363a823b69fd.[/quote]
&lt;p&gt;Well, I believe that all of them are in the range of the coordinator. But it seems that 0&lt;span&gt;xf4ce36b839b9ac59 is being routed. From your answer, I don&amp;#39;t know if that is expected...&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Zigbee Meshing Capabilities</title><link>https://devzone.nordicsemi.com/thread/335892?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 09:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b91d2f0b-f562-4100-8aae-c83376adb237</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Fernando,&lt;/p&gt;
&lt;p&gt;The packets are encrypted in the sniffer log, so I am unable to see their content. Could you please share the network key so I can decrypt them or start the sniffer before starting the network so the sniffer has the network key?&lt;/p&gt;
[quote user="Fernando Fontes"]Could this warning be triggered because of this? You said that this message indicates no route available, but could this be related to the request and not to the fact of a non-existing route to the coordinator?[/quote]
&lt;p&gt;That could be the reason for it. Getting &amp;quot;Unimplemented signal&amp;quot; does not necessarily mean that there is anything wrong. It might just mean that the command is not implemented on the device. As for Routing Table Request and Routing Table Response commands, these are optional according to the specification, so it is not required for devices to support these commands. I did a test myself by sending the Routing Table Request command to a device implemented with our stack. From the sniffer log I could see the device respond with an APS Ack, but it did not send a Routing Table Response back.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you get &amp;quot;Unimplemented signal&amp;quot; directly after the Routing Table Request? Or when issuing another command?&lt;/p&gt;
[quote user="Fernando Fontes"]I was expecting to see something like 0xf4ce36b839b9ac59&amp;nbsp;-&amp;gt; 0xf4ce3686907ea954&amp;nbsp;-&amp;gt; 0xf4ce363a823b69fd -&amp;gt;&amp;nbsp;0x00124b002393413e.[/quote]
&lt;p&gt;Sending packets directly is better than sending it via routing. So if the devices&amp;nbsp;are in range of each other and have the destination node in their neighbor table, they will prioritize this over using the routing table and sending a packet using routing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Am I understanding your figure correctly that nodes 0xf4ce363a823b69fd and&amp;nbsp;0xf4ce3686907ea954 send directly to the coordinator, while packets from or to&amp;nbsp;0xf4ce36b839b9ac59 is routed through&amp;nbsp;0xf4ce363a823b69fd? If so, this would make sense if both&amp;nbsp;0xf4ce363a823b69fd and&amp;nbsp;0xf4ce3686907ea954 are still in range of the coordinator, while&amp;nbsp;0xf4ce36b839b9ac59 is out of it&amp;#39;s range, but still in range of the router that is furthest away,&amp;nbsp;0xf4ce363a823b69fd.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Zigbee Meshing Capabilities</title><link>https://devzone.nordicsemi.com/thread/335680?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 10:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:361f2a5e-5590-49d4-ada2-8ead55910a8c</guid><dc:creator>Fernando Fontes</dc:creator><description>&lt;p&gt;Hello Marte,&lt;br /&gt;&lt;br /&gt;Thank you very much for the support and for the explanation.&lt;/p&gt;
&lt;p&gt;During the past weeks, I was busy with other tasks and I haven&amp;#39;t had the time to do further investigation.&lt;/p&gt;
&lt;p&gt;I have created a simple network with 3 nodes (all of them paired to zigbee2mqtt coordinator), and I have placed them in strategic positions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Node: 0xf4ce36b839b9ac59 is&amp;nbsp;the longest node.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Node:&amp;nbsp;0xf4ce3686907ea954 is placed in-between node&amp;nbsp;0xf4ce36b839b9ac59 and 0xf4ce363a823b69fd.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Node:&amp;nbsp;0xf4ce363a823b69fd is placed less then 10 cm of the coordinator.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was expecting to see something like 0xf4ce36b839b9ac59&amp;nbsp;-&amp;gt; 0xf4ce3686907ea954&amp;nbsp;-&amp;gt; 0xf4ce363a823b69fd -&amp;gt;&amp;nbsp;0x00124b002393413e. However, I also understand that depending on some environment variables, and difference between antennas that this can change and not behave as expected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Based on the output from the zigbee2mqtt it seems that indeed the nordic nodes can&amp;#39;t share their routing table, therefore they start to send the &amp;quot;Unimplemented signal (signal: 21, status: 0)&amp;quot; through the serial port. Could this warning be triggered because of this? You said that this message indicates no route available, but could this be related to the request and not to the fact of a non-existing route to the coordinator?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was able to generate a simple graphviz routing table from the coordinator:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1012x734/__key/communityserver-discussions-components-files/4/routing_5F00_table_5F00_z2m.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you tell me if that makes sense? Note that all of the nodes have failed to answer the routing table request (see pcap attached).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Fernando&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3_5F00_nodes_5F00_sniff.pcap"&gt;devzone.nordicsemi.com/.../3_5F00_nodes_5F00_sniff.pcap&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0x30a3_5F00_serial_5F00_logs.log"&gt;devzone.nordicsemi.com/.../0x30a3_5F00_serial_5F00_logs.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Zigbee Meshing Capabilities</title><link>https://devzone.nordicsemi.com/thread/333263?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 12:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:846a6f33-7672-4f76-bccc-41306fcd08c3</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Fernando,&lt;/p&gt;
&lt;p&gt;The Zigbee network is already a mesh network, and is usually created by the coordinator. However, unlike end devices, routers have mesh capabilities and can to route packets, which can extend the network. In a mesh network, the routers&amp;nbsp;are&amp;nbsp;able to discover routes to other nodes in the network, and save this routes in a routing table. All of this is handled internally by the stack in our Zigbee stack, so the routing table is unfortunately not available to the application. If you have multiple devices in your network you can test the mesh networking by sending packets from one node to another node in the network that is out of range of the first node, and see that it goes through one or more routers on the way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are correct that signal 21 is&amp;nbsp;ZB_NLME_STATUS_INDICATION. Status 0 indicates that there is no route available, so this means that the device is not able to find a route to the node it is trying to send a packet to. Having multiple routers on the network should not cause this. Could you please give some more information about your set up? What device is trying to send a packet when they get this, what are they trying to send, and to which device? Could you also get a sniffer log of this and upload it here as a pcap file?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>