<?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>Serval Questions About nRF52840 Zigbee</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71257/serval-questions-about-nrf52840-zigbee</link><description>Hi, 
 1、If I want to devlop zigbee with nRF52840, whether the only one sdk series is `nRF5_SDK_for_Thread_and_Zigbee_xxx` ? 
 2、Can BLE coexists with Zigbee in a nRF52840 SoC? May Interfere each other? 
 3、Using cli cmd in zigbee development, `zdo match_desc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Feb 2021 07:51:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71257/serval-questions-about-nrf52840-zigbee" /><item><title>RE: Serval Questions About nRF52840 Zigbee</title><link>https://devzone.nordicsemi.com/thread/293241?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 07:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb818cc0-1102-40f7-8b76-5e0f947989c7</guid><dc:creator>LangSQ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for you answers, I will try with your points.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serval Questions About nRF52840 Zigbee</title><link>https://devzone.nordicsemi.com/thread/292694?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 13:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ded9ef7-cbce-4a36-9ea7-a518d4123407</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We have two SDKs with support for Zigbee:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_thread_zigbee_latest.html"&gt;nRF5 SDK for Thread and Zigbee v4.1.0&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/index.html"&gt;nRF Connect SDK (NCS)&lt;/a&gt;. As of now, there&amp;#39;s only one Zigbee example in NCS, namely the light control example, which consists of&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/samples/zigbee/light_bulb/README.html"&gt;light bulb&lt;/a&gt;,&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/samples/zigbee/light_switch/README.html"&gt;light switch&lt;/a&gt;, and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/samples/zigbee/network_coordinator/README.html"&gt;network coordinator&lt;/a&gt;.&amp;nbsp;However, the light switch example has support for&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/include/zigbee/zigbee_fota.html#lib-zigbee-fota"&gt;Zigbee FOTA&lt;/a&gt;&amp;nbsp;as well. NCS will be the main focus going forward, while nRF5 SDK will mostly get bug fixes and such, but the nRF5 SDK does have several more examples than NCS as of now.&lt;/li&gt;
&lt;li&gt;Yes, there&amp;#39;s support for multiprotocol BLE and Zigbee in both SDKs. In nRF5 SDK,&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/ble_154_multiprotocol.html?cp=7_3_4_0_1#ble_154_multiprotocol_dynamic"&gt;dynamic multiprotocol&lt;/a&gt;&amp;nbsp;is used, which means that the radio hardware is time-sliced between the two protocols, and each of the protocols request a timeslot prior to any radio operation. There are some considerations to this, one of which is that BLE activity can interrupt any kind of application or Zigbee stack logic. All of these considerations can be found&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/ble_154_multiprotocol.html?cp=7_3_4_0_1_1#ble_154_multiprotocol_considerations"&gt;here&lt;/a&gt;.&amp;nbsp;In NCS, multiprotocol can be added to the light switch sample. In this case, the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrfxlib/mpsl/README.html#mpsl"&gt;Multi-Protocol Service Layer (MPSL)&lt;/a&gt;&amp;nbsp;library is used, which provides services for multiprotocol applications. You can read more about&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/ug_multiprotocol_support.html#ug-multiprotocol-support"&gt;multiprotocol support for Zigbee in NCS here&lt;/a&gt;, as well as in the documentation for the light switch sample.&lt;/li&gt;
&lt;li&gt;There are functions in the SDK you can use to do this. To send a match descriptor request (zdo match_desc) you can use the function &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/group__zdo__disc.html?cp=7_7_1_5_1_2_2_42#ga0d31f0e0c17f783f700af04c74b7fee2"&gt;zb_zdo_match_desc_req&lt;/a&gt;, which takes two variables: the index of buffer with primitive parameters&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/structzb__zdo__match__desc__param__s.html"&gt;zb_zdo_match_desc_param_s&lt;/a&gt;, and a user callback function to call the response from the remote device.&amp;nbsp;In order to see examples of how this function can be used, you can check out the light switch example (line 275 in main.c in v4.1.0) and the CLI agent example (it can be found in the file for CLI ZDO commands, /components/zigbee/cli/zigbee_cli_cmd_zdo.c on line 844). You should also check out the documentation for the function. As for&amp;nbsp;reading sensor data,&amp;nbsp;using CLI this is done&amp;nbsp;by binding the remote endpoint to the CLI and subscribing to the attribute changes on the remote node. The first part can be done using&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/group__zdo__bind.html?cp=7_7_1_5_1_2_3_29#ga403cbc689175cec5196544d784d5b067"&gt;zb_zdo_bind_req&lt;/a&gt;. For the last part I recommend taking a look at how this is implemented in the multi sensor example, and you can also check out the implementation in CLI in /components/zigbee/cli/zigbee_cli_cmd_attr_report.c, specifically from line 374.&lt;/li&gt;
&lt;/ol&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>