<?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 Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109859/zigbee-communication-with-network-coordinator-with-light-switch</link><description>Hi, 
 Am Implementing Zigbee on NRF52840 chip with help of VS Code. 
 Zigbee Stack : 2.5.2 
 I configured nrf52840 DK as Zigbee network coordinator and another custom made board which having nrf52840 configured as Zigbee light switch. 
 I Established</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2024 14:30:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109859/zigbee-communication-with-network-coordinator-with-light-switch" /><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480743?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 14:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2af41df-6028-49c1-ae73-1a24c1355b6f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried with all the possible network keys I could find in all screenshots, both normal and reverse, but none of them worked. So the only suggestions I have are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you can see the content of the packets, if you open the sniffer log in Wireshark or if it&amp;#39;s only in Simplicity Studio&lt;/li&gt;
&lt;li&gt;Verify that the screenshots showing the network key are from the same sniffer logs as you have uploaded. When the coordinator creates the network, it will generate a network key, so if the screenshots are from different tests with other networks, then the network key will not be the same.&amp;nbsp;&lt;br /&gt; Additionally, the network key should be part of the Zigbee Security Header in the Zigbee Network Layer, as in the following screenshot that I sent previously, so it would be nice to verify whether they see a Zigbee Security Header with a network key in your sniffer log&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1714054837997v1.jpeg" alt=" " /&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Collect new sniffer logs of the issue where you have manually set the network key. The network key &lt;u&gt;must be set before the Zigbee stack is started&lt;/u&gt;. You can either set it in the code using &lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/zboss/3.11.3.0/group__secur__nwk__key.html#ga23f375eb4e96beebeb2f894d06723fdb" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.3.0/group__secur__nwk__key.html#ga23f375eb4e96beebeb2f894d06723fdb" rel="noopener noreferrer" target="_blank"&gt;zb_secur_setup_nwk_key()&lt;/a&gt; or if you are using Zigbee shell as coordinator you can set it with the shell command &lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/2.6.1/nrf/libraries/zigbee/shell.html#bdb-nwkkey" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.1/nrf/libraries/zigbee/shell.html#bdb-nwkkey" rel="noopener noreferrer" target="_blank"&gt;bdb nwkkey&lt;/a&gt;.&lt;br /&gt; Then share the sniffer log and the network key you set manually in the ticket.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="NikhilVV"]I have followed the same steps which is mentioned in link to capture the sniffer log but when i starting wireshark it taking time to capture the packet and before that coordinator get start.[/quote]
&lt;p&gt;You can just start the sniffer log earlier, no need to wait to start it until the coordinator starts up.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480584?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 07:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eb055a1-4e63-4abc-aecc-72fcfc193d6b</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i did not get u what it mean by install codes.&lt;/p&gt;
&lt;p&gt;How to differentiate it ?&lt;/p&gt;
&lt;p&gt;Who will generate Transport key or who holds the key in zigbee network.&amp;nbsp; does the coordinator or end device?&lt;/p&gt;
&lt;p&gt;which feature u want to turn off and how.?&lt;/p&gt;
&lt;p&gt;Can u tell the settings of wireshark which i need to config.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please find the transport key packet decrypted from other sniffer tool.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1714029256908v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1714029273837v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480487?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2024 13:44:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3409bbc-cc98-4c28-b7fa-ea988d33b29b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The key doesn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Are you using install codes?&amp;nbsp;If you are using install code, the packets will be encrypted even if having the network key in Wireshark. Could you turn off the feature and provide the log again?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480391?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2024 09:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cca773d-de5d-421e-8224-4aa6fe229d0a</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I understand that zigbeeAlliance 09 key is exchanging at starting of network formation and TC Link key exchange for data exchange.&lt;/p&gt;
&lt;p&gt;i captured the sniffer from before coordinator start but still i did not find the TC Link key exchange frame in Wireshark. attaching herewith the captured sniffer logs for reference.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zigbee_5F00_ch16_5F00_Log.pcapng"&gt;devzone.nordicsemi.com/.../zigbee_5F00_ch16_5F00_Log.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713950322623v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zigbee_5F00_APS.pcapng"&gt;devzone.nordicsemi.com/.../zigbee_5F00_APS.pcapng&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please check the above logs and confirm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480252?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 14:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:214035d2-db2f-4bf8-83dd-7bbddf1814ad</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="NikhilVV"]we are not modified the Network key using default key &amp;quot;zigbee alliance 09 &amp;quot; .[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I have the Zigbee alliance 09 key in Wireshark, so your network is not using that as the Trust Center link key, as then I would be able to see the content of the packets.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The zigbee alliance 09 key is used for the first Transport Key packet, before the device has been commissioned to the network, like here (this is from a different sniffer log):&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6574.pastedimage1713882575939v1.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But this is not the actual network key, or Trust Center Link Key, as that will be one the ZC has randomly generated (unless you have specified one using e.g. shell commands).&lt;/p&gt;
&lt;p&gt;After the device has been fully commissioned it will start using the actual network key, as you can see here (from the same sniffer log as the previous screenshot):&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2364.pastedimage1713882575943v2.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you can see the actual frames, then it should be possible for you to get the network key from the Zigbee security header. It would be the same key as in my last screenshot.&lt;/p&gt;
&lt;p&gt;Another option is to manually set a network key on the ZC before starting the network, using for example &lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/libraries/zigbee/shell.html#bdb-nwkkey" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/zigbee/shell.html#bdb-nwkkey" rel="noopener noreferrer" target="_blank"&gt;bdb nwkkey&lt;/a&gt;, and then share the network key so we can decrypt the packets. But then you have to collect new logs anyway.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480096?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 06:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51f9f213-068a-4b01-85a4-f25c8ccea697</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have followed the same steps which is mentioned in link to capture the sniffer log but when i starting wireshark it taking time to capture the packet and before that coordinator get start.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can check the image which i uploaded in previous post in which all frames are clearly visible including the Data bytes in Hex.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;we are not modified the Network key using default key &amp;quot;zigbee alliance 09 &amp;quot; .&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if compare with Pcap log vs image you can see that all packet till APS Frame (Zigbee cluster Library) are same. ie IEEE 802.15.4 , zigbee network , zigbee network security and Zigbee application support&amp;nbsp; are same. But due to encryption zigbee cluster library packets are not visible to compare in pcap. So we are using the Other platform sniffer to observe data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please find data bytes details of ZCL Frame.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ZCL Frame Control : 0x05&lt;/p&gt;
&lt;p&gt;Manufacture Code : 0x1002&lt;/p&gt;
&lt;p&gt;Sequence Number : 0x73&lt;/p&gt;
&lt;p&gt;Command Identifier&amp;nbsp; : 0x01&lt;/p&gt;
&lt;p&gt;Application PayLoad :&lt;/p&gt;
&lt;p&gt;0x00 0x00 0x00 0x02 0x14 0x00 0x03 0x01 0x4F 0x00 0x14 0x01 0xAD 0x1A&lt;/p&gt;
&lt;p&gt;0xAC 0x40 0x05 0x2C 0x67 0xF2 0x40 0xA3 0x00 0x01 0x00 0x01 0x0A 0x4C&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope these information helps you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;_Nikhil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/480054?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 16:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a759a978-e254-4d4f-a7ab-b22b012410b7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="NikhilVV"]I tried to capture the traffic using sniffer tool which is not working well.[/quote]
&lt;p&gt;Here is the guide for&amp;nbsp;&lt;a title="nRF Sniffer for 802.15.4" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_802154/UG/sniffer_802154/intro_802154.html?cp=11_4"&gt;nRF Sniffer for 802.15.4&lt;/a&gt;. Please create a new support case if it doesn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;
[quote user="NikhilVV"]Please check the packet data and let me know how can i handle the packet in Shell or Coordinator sample.[/quote]
&lt;p&gt;It&amp;#39;s hard for us to analyze the issue without the proper&amp;nbsp;&lt;span&gt;sniffer log.&amp;nbsp;Please share the network key or capture a new sniffer log where they start the sniffer before the coordinator starts the network.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/479857?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 07:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e1166c-8b96-49ed-a67f-8862379ddb21</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to capture the traffic using sniffer tool which is not working well. Bit slow to start and capturing logs.&lt;/p&gt;
&lt;p&gt;I have compared the previous captured&amp;nbsp;pcap data which i uploaded in previous post with Captured data on Simplicity Studio which also posted in previous post as Image.&lt;/p&gt;
&lt;p&gt;while comparing i have found that the zigbee packets are same as pcap. So i am posting here the full packet which i received on other device which act as sniffer for reference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Zigbee-Packet.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please check the packet data and let me know how can i handle the packet in Shell or Coordinator sample.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;_nikhil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/479703?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 12:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d9c3d93-0678-4e96-a059-2c41a69e163f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Q1a.&lt;br /&gt;See the example&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/e988c624ecb4d2f14b64bdc203f8207c629fb35c/samples/zigbee/light_switch/src/main.c#l588-l603" href="https://github.com/nrfconnect/sdk-nrf/blob/e988c624ecb4d2f14b64bdc203f8207c629fb35c/samples/zigbee/light_switch/src/main.c#L588-L603" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt; and &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/e988c624ecb4d2f14b64bdc203f8207c629fb35c/samples/zigbee/light_bulb/src/main.c#l429-l497" href="https://github.com/nrfconnect/sdk-nrf/blob/e988c624ecb4d2f14b64bdc203f8207c629fb35c/samples/zigbee/light_bulb/src/main.c#L429-L497" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;There is also some information about this in the documentation here: &lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/zboss/3.11.3.0/using_zigbee__z_c_l.html#process_zcl_cmd" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.3.0/using_zigbee__z_c_l.html#process_zcl_cmd" rel="noopener noreferrer" target="_blank"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.3.0/using_zigbee__z_c_l.html#process_zcl_cmd&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Q1b.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;If you mean Zigbee packets in general then this is handled internally by the stack and is not visible to the application.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;2)&amp;nbsp;The packets in the sniffer log are encrypted. Please share the network key or capture a new sniffer log where they start the sniffer before the coordinator starts the network.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Q3a.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;You should be able to handle this in the ZCL handler&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/479130?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 08:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b2b17a-722d-4901-8438-f0d1040c8be6</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;&lt;/p&gt;
&lt;blockquote class="quote"&gt;
&lt;div class="quote-content"&gt;
&lt;p&gt;coordinator Send :&lt;span&gt;&amp;nbsp;&lt;/span&gt;ZCL&amp;nbsp;cmd&amp;nbsp;0x5df 2 0x0000 0x0104 0&lt;/p&gt;
&lt;p&gt;uart:~$ zcl cmd 65df 2 0x0000 0x0104 0&lt;br /&gt;Default Response received: Command: 4, Status: 129&lt;br /&gt;Error: Command not successful&lt;br /&gt;Done&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Status 129 (0x81) is unsupported command or unsupported cluster command (&lt;a title="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.0/zboss/production/include/zcl/zb_zcl_common.h#l371-l372" href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.0/zboss/production/include/zcl/zb_zcl_common.h#L371-L372" rel="noopener noreferrer" target="_blank"&gt;zb_zcl_common.h#L371-L372&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;They are trying to send command 0 to the Basic cluster on the device, which is &amp;quot;Reset to Factory Defaults&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Q1a : could you tell which handler or callback is processing the received ZCL generic command.&lt;/p&gt;
&lt;p&gt;Q1b : Which&amp;nbsp;function receives and process the incoming packets.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2)&lt;span&gt;Please upload the&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-802154"&gt;sniffer log as a pcap file&lt;/a&gt;&lt;span&gt;, and to clarify what command you are sending and which device you are sending it to/from.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Here follows the pcap file.&lt;/p&gt;
&lt;p&gt;Also adding captured traffic image for reference.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713340293068v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zigbeeROuter-traffic.pcapng"&gt;devzone.nordicsemi.com/.../zigbeeROuter-traffic.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The End Device sending Customized manufacturing data in ZCL Generic Commands.&lt;/p&gt;
&lt;p&gt;Here follows the details.&lt;/p&gt;
&lt;p&gt;Profile :&amp;nbsp; 0x0104&lt;/p&gt;
&lt;p&gt;Cluster ID : 0xFF01&lt;/p&gt;
&lt;p&gt;Manufacture ID : 0x1002&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q 3a: where can we receive the manufacture specific data ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/478995?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 12:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b392c2-bec5-4957-a9ff-f331857a9a86</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="NikhilVV"]&lt;p&gt;coordinator Send :&lt;span&gt;&amp;nbsp;&lt;/span&gt;ZCL&amp;nbsp;cmd&amp;nbsp;0x5df 2 0x0000 0x0104 0&lt;/p&gt;
&lt;p&gt;uart:~$ zcl cmd 65df 2 0x0000 0x0104 0&lt;br /&gt;Default Response received: Command: 4, Status: 129&lt;br /&gt;Error: Command not successful&lt;br /&gt;Done&lt;/p&gt;[/quote]
&lt;p&gt;Status 129 (0x81) is unsupported command or unsupported cluster command (&lt;a title="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.0/zboss/production/include/zcl/zb_zcl_common.h#l371-l372" href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.0/zboss/production/include/zcl/zb_zcl_common.h#L371-L372" rel="noopener noreferrer" target="_blank"&gt;zb_zcl_common.h#L371-L372&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;You are trying to send command 0 to the Basic cluster on the device, which is &amp;quot;Reset to Factory Defaults&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6470.pastedimage1713271959711v1.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This command is optional, so it could be that the device doesn&amp;#39;t support it.&lt;/p&gt;
[quote user="NikhilVV"]3) End Device sending ZCL CMD in every seconds but not receiving at&amp;nbsp;&lt;span&gt;zigbee_logger_eprxzcl_ep_handler().&lt;/span&gt;[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Please upload the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-802154"&gt;sniffer log as a pcap file&lt;/a&gt;, and to clarify what command you are sending and which device you are sending it to/from.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/478817?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 14:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5eeef16-ab08-4b8e-a4a7-48cd449a25e9</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;I have tried following points in Shell Sample code which as working as Coordinator.&lt;/p&gt;
&lt;p&gt;1) coordinator Send : ZCL attr read 0xA009 2 0x0000 0x0104 0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Responds Received from Node and printed on terminal.&lt;/p&gt;
&lt;p&gt;2) Similarly&lt;/p&gt;
&lt;p&gt;coordinator Send :&lt;span&gt;&amp;nbsp;&lt;/span&gt;ZCL&amp;nbsp;cmd&amp;nbsp;0x5df 2 0x0000 0x0104 0&lt;/p&gt;
&lt;p&gt;uart:~$ zcl cmd 65df 2 0x0000 0x0104 0&lt;br /&gt;Default Response received: Command: 4, Status: 129&lt;br /&gt;Error: Command not successful&lt;br /&gt;Done&lt;br /&gt;[00:15:45.006,256] &amp;lt;inf&amp;gt; zigbee_shell: RECEIVED CMD zbshellutil.c&lt;/p&gt;
&lt;p&gt;[00:15:45.006,652] &amp;lt;inf&amp;gt; zigbee.eprxzcl: Received ZCL command (4): src_addr=0x65df(short) src_ep=2 dst_ep=64 cluster_id=0x0000 profile_id=0x0104 cmd_dir=1 common_cmd=1 cmd_id=0x0b cmd_seq=10 disable_def_resp=0 manuf_code=void payload=[0481] (4)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3) End Device sending ZCL CMD in every seconds but not receiving at&amp;nbsp;&lt;span&gt;zigbee_logger_eprxzcl_ep_handler().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Attached herewith the traffic captured for reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kindly find the attachment and let me know why it is not receiving the ZCL generic command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the only difference i found is manufacturing&amp;nbsp;specific bit&amp;nbsp; in&amp;nbsp;ZCL Frame Control.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;how to overcome this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also tried the following callback&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1)&amp;nbsp; ZB_ZCL_REGISTER_CALLBACK();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2)&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;ZB_ZCL_SET_DISC_MANUFACTURE_COMMAND_CALLBACK();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3) ZB_AF_SET_ENDPOINT_HANDLER();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The incoming message is not hitting any of the above callback which&amp;nbsp;i tried one by one.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i have observed that if&amp;nbsp;&lt;/span&gt;&lt;span&gt;i try ZCL on-off command from end device it is hitting at ZB_ZCL_Handler().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if i add a callback does the stack callback will disabled or not?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1713191004730v9.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191004660v8.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191004571v7.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191019799v12.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191019725v11.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191019627v10.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/zp3.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/zp2.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/zp1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191049457v15.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191049388v14.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713191049342v13.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;_nikhil&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/478608?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 21:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aad72c41-3321-4a29-9bdf-04daa6bb0401</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/97450/adding-zcl-clusters-to-application---temperature---error-with-build/425674"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="NikhilVV"]Is it possible the zigbee Shell example receive ZCL CMD&amp;nbsp; not ZCL ATTR READ command from node without adding any other Cluster.&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;Yes, it is possible for the Zigbee Shell example to receive ZCL (Zigbee Cluster Library) commands without adding any other cluster. The Zigbee Shell library implements a set of Zigbee shell commands that can be used for testing and debugging. These commands include&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;zcl cmd&lt;/code&gt;&lt;span&gt;&amp;nbsp;for sending a generic ZCL command to a remote node and&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;zcl attr read&lt;/code&gt;&lt;span&gt;&amp;nbsp;for retrieving the attribute value of a remote node.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="NikhilVV"]is it mandatory to add the cluster in coordinator side too to receive zcl cmd &amp;amp; zcl attr read commands.[/quote]
&lt;p&gt;No, it is not mandatory to add the cluster on the coordinator side to receive ZCL commands and ZCL attribute read commands. The Zigbee Shell in the coordinator can issue commands to any device in the network, regardless of the clusters implemented on the coordinator side.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="NikhilVV"]&lt;p&gt;&lt;span&gt;When the i try to read the added cluster (Basic) info from node am able get the responds.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can i use the same&amp;nbsp;zigbee_logger_eprxzcl_ep_handler() to receive ZCL CMD from router Node.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;Yes, you can use the&amp;nbsp;&lt;code dir="ltr"&gt;zigbee_logger_eprxzcl_ep_handler()&lt;/code&gt;&amp;nbsp;function to receive ZCL commands from a router node. This function is part of the Zigbee endpoint logger library and is used for parsing incoming ZCL frames and logging their fields and command payload.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For more information, you can refer to the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/zigbee/zigbee_logger_eprxzcl.html#lib-zigbee-logger-endpoint" rel="noopener noreferrer" target="_blank"&gt;Zigbee endpoint logger documentation&lt;/a&gt;&amp;nbsp;and the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/configuring_libraries.html#configuring_zigbee_endpoint_logger" rel="noopener noreferrer" target="_blank"&gt;Configuring Zigbee endpoint logger documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/478495?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 09:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6b94829-39ca-43ee-822f-a4b0deaea4df</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/adding_clusters.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/adding_clusters.html&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;By referring above the link i added t&lt;span&gt;emperature Sensor in zigbee template example. when building it is failed due to errors.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: data definition has no type or storage class
   86 | ZB_HA_DECLARE_TEMPERATURE_SENSOR_CLUSTER_LIST(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/main.c:86:1: error: type defaults to &amp;#39;int&amp;#39; in declaration of &amp;#39;ZB_HA_DECLARE_TEMPERATURE_SENSOR_CLUSTER_LIST&amp;#39; [-Werror=implicit-int]
../src/main.c:90:9: warning: parameter names (without types) in function declaration
   90 |         temp_measurement_attr_list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/main.c:99:31: error: expected &amp;#39;)&amp;#39; before numeric constant
   99 |         temperature_sensor_ep,
      |                               ^
      |                               )
../src/main.c:110:1: warning: data definition has no type or storage class
  110 | ZB_DECLARE_DEVICE_CTX_2_EP(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/main.c:110:1: error: type defaults to &amp;#39;int&amp;#39; in declaration of &amp;#39;ZB_DECLARE_DEVICE_CTX_2_EP&amp;#39; [-Werror=implicit-int]
../src/main.c:113:9: warning: parameter names (without types) in function declaration
  113 |         temperature_sensor_ep);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from C:/ncs/v2.5.2/nrfxlib/zboss/production/include/zboss_api.h:52,
                 from ../src/main.c:16:
../src/main.c: In function &amp;#39;main&amp;#39;:
../src/main.c:270:36: error: &amp;#39;app_template_ctx&amp;#39; undeclared (first use in this function)
  270 |         ZB_AF_REGISTER_DEVICE_CTX(&amp;amp;app_template_ctx);
      |                                    ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/nrfxlib/zboss/production/include/zboss_api_af.h:657:74: note: in definition of macro &amp;#39;ZB_AF_REGISTER_DEVICE_CTX&amp;#39;
  657 | #define ZB_AF_REGISTER_DEVICE_CTX(_device_ctx) zb_af_register_device_ctx(_device_ctx)
      |                                                                          ^~~~~~~~~~~
../src/main.c:270:36: note: each undeclared identifier is reported only once for each function it appears in
  270 |         ZB_AF_REGISTER_DEVICE_CTX(&amp;amp;app_template_ctx);
      |                                    ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/nrfxlib/zboss/production/include/zboss_api_af.h:657:74: note: in definition of macro &amp;#39;ZB_AF_REGISTER_DEVICE_CTX&amp;#39;
  657 | #define ZB_AF_REGISTER_DEVICE_CTX(_device_ctx) zb_af_register_device_ctx(_device_ctx)
      |                                                                          ^~~~~~~~~~~
cc1.exe: some warnings being treated as errors
[109/316] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
ninja: build stopped: subcommand failed.&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In my project Zigbee Node which sends data is sending data in customised manufacture cluster.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it possible the zigbee Shell example receive ZCL CMD&amp;nbsp; not ZCL ATTR READ command from node without adding any other Cluster.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;is it mandatory to add the cluster in coordinator side too to receive zcl cmd &amp;amp; zcl attr read commands.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When the i try to read the added cluster (Basic) info from node am able get the responds.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can i use the same&amp;nbsp;zigbee_logger_eprxzcl_ep_handler() to receive ZCL CMD from router Node.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if the zigbee_logger_eprxzcl_ep_handler() doent work to receive ZCL CMD how to add a handler or call back to receive ZCL CMD.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Nikhil&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/478089?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 13:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97e591b4-9d6e-4a78-ad8b-1c2d0b23bf04</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the link which you shared describes how to add a preconfigured cluster.&lt;/p&gt;
&lt;p&gt;Where am looking for how to add a custom cluster in coordinator. In my application coordinator continuously receive data from node. The endnode is using some custom profile.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;kindly guide me to how to add custom cluster in coordinator.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;_nikhil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/477925?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 06:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c28e065-7b7a-413e-bed0-9a90d56b9d2a</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I will check the same and let you the result.&lt;/p&gt;
&lt;p&gt;-nikhil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/477662?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 20:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8409ec13-85b6-42af-9cb5-0855cecdda22</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="NikhilVV"]In Shell sample code which network is used ?[/quote]
&lt;p&gt;See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/commissioning.html#centralized_security_network"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/commissioning.html#centralized_security_network&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.0/zboss/production/include/zb_config.h#L158"&gt;https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.0/zboss/production/include/zb_config.h#L158&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="NikhilVV"]C) Can i add custom cluster shell sample or should i use template sample?[/quote]
&lt;p&gt;You can refer to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/adding_clusters.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/adding_clusters.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/477592?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 13:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d2a094-9f01-4191-a846-48ab280e04f6</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;A) Currently am able to read basic attribute from zigbee device using shell sample.&lt;/p&gt;
&lt;p&gt;Thank you for your guidance.&lt;/p&gt;
&lt;p&gt;Later i will reuse the payload read from Zigbee device to pass to uart buffer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;B) Regarding KEY.&lt;/p&gt;
&lt;p&gt;The KEY i mentioned in previous post is&amp;nbsp;Network Key.&lt;/p&gt;
&lt;p&gt;In Shell sample code which network is used ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;C) Can i add custom cluster shell sample or should i use template sample?&lt;/p&gt;
&lt;p&gt;kindly provide the guidance to add cluster in coordinator side.&lt;/p&gt;
&lt;p&gt;Am referring following Link to declare cluster.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.thread_zigbee.v3.0.0%2Fusing_zigbee__z_c_l.html&amp;amp;anchor=att_declaration"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.thread_zigbee.v3.0.0%2Fusing_zigbee__z_c_l.html&amp;amp;anchor=att_declaration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Nikhil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/477228?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 06:51:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3528fad3-2047-4f40-a526-265c43b7672c</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thank you for quick response.&lt;/p&gt;
&lt;p&gt;a)&lt;/p&gt;
&lt;p&gt;In shell Sample code i did the same but End Device is not joining to the network.&lt;/p&gt;
&lt;p&gt;following the steps i did.&lt;/p&gt;
&lt;p&gt;1. In proj.config changed&amp;nbsp;&lt;/p&gt;
&lt;p&gt;//CONFIG_ZIGBEE_ROLE_ROUTER = y&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_ROLE_COORDINATOR = y&lt;/p&gt;
&lt;p&gt;2. builded and flashed the code.&lt;/p&gt;
&lt;p&gt;3. changed role to ZC&amp;nbsp; .. bdb role zc&lt;/p&gt;
&lt;p&gt;4. bdb start ..&lt;/p&gt;
&lt;p&gt;Started coordinator&lt;br /&gt;Done&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(Extended PAN ID: f4ce365044756cb7, PAN ID: 0x1205)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;5. bdb legacy enable.&lt;/p&gt;
&lt;p&gt;6. waited for joining device.&lt;/p&gt;
&lt;p&gt;7. after steering finished tried again bdb start.&lt;/p&gt;
&lt;p&gt;8 bdb short&amp;nbsp;&lt;/p&gt;
&lt;p&gt;0000&lt;/p&gt;
&lt;p&gt;done.&lt;/p&gt;
&lt;p&gt;9. ping 0000 10&lt;/p&gt;
&lt;p&gt;Ping time: 3 ms&lt;br /&gt;Done&lt;br /&gt;[00:01:59.551,086] &amp;lt;inf&amp;gt; zigbee.eprxzcl: Received ZCL command (0): src_addr=0x0000(short) src_ep=10 dst_ep=10 cluster_id=0xbeef profile_id=0x0104 cmd_dir=0 common_cmd=0 cmd_id=0x02 cmd_seq=0 disable_def_resp=1 manuf_code=void payload=[abababababababababab] (0)&lt;br /&gt;[00:01:59.552,734] &amp;lt;inf&amp;gt; zigbee.eprxzcl: Received ZCL command (1): src_addr=0x0000(short) src_ep=10 dst_ep=10 cluster_id=0xbeef profile_id=0x0104 cmd_dir=0 common_cmd=0 cmd_id=0x01 cmd_seq=0 disable_def_resp=1 manuf_code=void payload=[cdcdcdcdcdcdcdcdcdcd] (1)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;b) In Network coordinator we Enabled Shell and tried same and end device is connecting to coordinator and binded cluster 0x0000. but when we tried&lt;/p&gt;
&lt;p&gt;zcl attr read 9153 1 0x0000 0x0104 0&lt;/p&gt;
&lt;p&gt;Error: Request timed out&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;c) Also tried with Network Coordinator (Shell Enabled)&amp;nbsp; with another( Custom Made , NOT NRF) device which is configured as router.&lt;/p&gt;
&lt;p&gt;That moment also Router joined and Binded with coordinator.&lt;/p&gt;
&lt;p&gt;we tried zcl attr read and&amp;nbsp;still getting time out. (In shell)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We monitored the traffic between coordinator and router we noticed that when NRF request for reading attribute , Router sends read response and NRF not showing the response data.&lt;/p&gt;
&lt;p&gt;is coordinator sample enabled read response printing ? if not how to get and print the data.&lt;/p&gt;
&lt;p&gt;Please refer attached screen shot.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;d) Regarding KEY.&lt;/p&gt;
&lt;p&gt;The KEY i mentioned in previous post is&amp;nbsp;Network Key.&lt;/p&gt;
&lt;p&gt;In coordinator sample code which network is used ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;E) Can i add cluster in coodinator / shell sample or should i use template sample?&lt;/p&gt;
&lt;p&gt;kindly provide the guidance to add cluster in coordinator side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;zigbee&amp;nbsp;SDK 2.5.2&lt;/p&gt;
&lt;p&gt;Toolchain 2.5.2&lt;/p&gt;
&lt;p&gt;VSCode&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Nikhil&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/EFR32ToNRF.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/476940?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 14:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a26b9731-e820-425d-bf30-8578d4860981</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.&lt;/p&gt;
[quote user="NikhilVV"]Does i need to modify anything else in source code ?[/quote]
&lt;p&gt;No. See the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/zigbee/shell/README.html#testing"&gt;Testing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3343.pastedimage1712155500325v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="NikhilVV"]2. Can u tell by default which key it is using in Network Coordinator Sample?[/quote]
&lt;p&gt;What do you mean by the &amp;quot;key&amp;quot;? Could you elaborate in more detail?&lt;/p&gt;
[quote user="NikhilVV"]&lt;p&gt;3. I like to ask regarding Attribute Type and Attribute ID .&lt;/p&gt;
&lt;p&gt;is it generating dynamically or pre-configured?&lt;/p&gt;
&lt;p&gt;when coordinator generate or receive or know attribute id and type of end device cluster.&lt;/p&gt;
&lt;p&gt;how can i know attribute id and type of end device ?&lt;/p&gt;[/quote]
&lt;p&gt;Zigbee Attribute Types and Attribute IDs are pre-configured and not generated dynamically. They are defined in the Zigbee Cluster Library (ZCL) and are used to identify specific attributes within a cluster. For example, in the Zigbee dimmable light level control attribute reporting, the Attribute ID for the On/Off cluster is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;ZB_ZCL_ATTR_ON_OFF_ON_OFF_ID&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and for the Level Control cluster, it&amp;#39;s&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID&lt;/code&gt;. These are predefined in the ZCL and used to set or get the attribute values.&lt;/p&gt;
&lt;p&gt;Here is an example of setting the attribute values:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3857.pastedimage1712155821506v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.6.0/samples/zigbee/light_bulb/src/main.c#L412-L426"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.6.0/samples/zigbee/light_bulb/src/main.c#L412-L426&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the above code,&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;ZB_ZCL_SET_ATTRIBUTE&lt;/code&gt;&lt;span&gt;&amp;nbsp;is a macro used to set the attribute value. The parameters include the endpoint, cluster ID, role, attribute ID, attribute value, and a flag to indicate if the attribute is reportable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/476749?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 07:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23fffd13-562c-4d2e-8737-c971af1e81a6</guid><dc:creator>NikhilVV</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Thank you for your feedback.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. I configured Zigbee Shell&amp;nbsp;example&amp;nbsp;Proj.conf as follows.&lt;/p&gt;
&lt;p&gt;//CONFIG_ZIGBEE_ROLE_ROUTER = y&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_ROLE_COORDINATOR = y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does i need to modify anything else in source code ?&lt;/p&gt;
&lt;p&gt;Because i tried to steering and device is not connecting with it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. Can u tell by default which key it is using in Network Coordinator Sample?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. I like to ask regarding Attribute Type and Attribute ID .&lt;/p&gt;
&lt;p&gt;is it generating dynamically or pre-configured?&lt;/p&gt;
&lt;p&gt;when coordinator generate or receive or know attribute id and type of end device cluster.&lt;/p&gt;
&lt;p&gt;how can i know attribute id and type of end device ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nikhil.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Communication with Network Coordinator with Light Switch</title><link>https://devzone.nordicsemi.com/thread/476698?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 20:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a624dcad-4ffd-4266-8883-1480030bdee0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Could you use&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/zigbee/shell/README.html"&gt;Zigbee: Shell&lt;/a&gt;&amp;nbsp;to run as&amp;nbsp;&lt;span&gt;coordinator to test?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2. See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/97856/retrieve-the-zigbee-nwk-key-from-a-device-on-a-network/417354"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>