<?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 topology monitoting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73072/zigbee-topology-monitoting</link><description>I am working on zigbee network where I wanted to get the tree of whole network but could not find any utility from nordic which can provide those info, so I have started developing my own code, till now I can fetch all connected nodes successfully but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Mar 2021 12:28:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73072/zigbee-topology-monitoting" /><item><title>RE: Zigbee topology monitoting</title><link>https://devzone.nordicsemi.com/thread/301892?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 12:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46466ce7-579a-4d0c-9d5f-c7ba2669e9ac</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have any tool such as the Thread topology monitor for Zigbee.&lt;br /&gt;&lt;br /&gt;Since you are creating your own code I suppose you have already taken a look at the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_topology_monitor.html?cp=7_3_2_9_1_5#ttm_operation"&gt;principle of operation&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for Thread topology monitor and try to recreate something similar for Zigbee reading the routers neighbor table.&lt;/p&gt;
&lt;p&gt;You can get a router neighbor table in Zigbee using a ZDO Mgmt_Lqi_Req command, in the Zigbee CLI example you can use command &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=mgmt_lqi"&gt;zdo mgmt_lqi&lt;/a&gt;&amp;#39;. The format of the neighbourTableList of the mgmt_lqi_resp packet is documented here: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/structzb__zdo__neighbor__table__record__s.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/structzb__zdo__neighbor__table__record__s.html&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;The &amp;#39;depth&amp;#39; field should give you the tree depth of the neighbor device.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>