<?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>nRF52 custom payload with ZigBee ZBOSS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70182/nrf52-custom-payload-with-zigbee-zboss</link><description>Hello, 
 I would like to create a star network (with no routers) in ZigBee with nRF52 (also with multiprotocol BLE). I examined the relevant SDK (nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8) for examples and I found all of them kind of overwhelming</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jan 2021 19:52:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70182/nrf52-custom-payload-with-zigbee-zboss" /><item><title>RE: nRF52 custom payload with ZigBee ZBOSS</title><link>https://devzone.nordicsemi.com/thread/288035?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 19:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d54ff5-8656-42a7-89cf-21a07359f076</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thank you for the comprehensive answer, now I know, that ZigBee is not really what I&amp;#39;m looking for. Several years ago, in a company I used to work at, I could use ZigBee without these cluster constraints.&lt;/p&gt;
&lt;p&gt;Anyways, I diverged towards the nrf 802.15.4 driver with RAAL, but that one is not my thing either (and there are not many examples). I think Thread might be the solution for my use case, as it provides low-level network trafficking and has several usable examples.&lt;br /&gt;&lt;br /&gt;Thank you for your support!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;rmakl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 custom payload with ZigBee ZBOSS</title><link>https://devzone.nordicsemi.com/thread/287953?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 12:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856ecc84-601a-4fe7-824b-43736b570c2e</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi rmakl,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zb_aps_send_user_payload send user payload using APS, which is the Application Support Sublayer in Zigbee, and sits above the NWK (Network) layer. This layer is below the&amp;nbsp;AF (Application Framework)&amp;nbsp;and the ZDO (Zigbee Device Object). Although the Zigbee application interface is formed by both APS and AF, you should use the functions in AF, and not in APS, as AF has a set of routines (API) that is used to interact with Zigbee,&amp;nbsp;while APS is more about filtering out packets, generating automatic retries for failed packages, maintaining application-level tables, etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In addition to this, Zigbee is built in such a way that you&amp;#39;re supposed to use the clusters in ZCL (Zigbee Cluster Library), which is contained in the AF, in your project. These clusters implement the device functionality, and the application uses the API to parse ZCL commands. Therefore, you should find a cluster that does what you want your project to do and use that in your application, rather than trying to use functions on the APS layer. However, there are ways to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/using_zigbee__z_c_l.html?cp=7_3_3_4_1_1_0#cluster_declaration_custom"&gt;declare custom clusters&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/using_zigbee__z_c_l.html?cp=7_3_3_4_1_8#process_zcl_cmd"&gt;configure default ZCL command handler override&lt;/a&gt;, but I would not recommend doing this unless you have experience with Zigbee.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As you&amp;#39;ve seen in the examples, you have to implement several things in order to get Zigbee to work, such as signal handlers, callback functions, declaring attributes, etc. It can be overwhelming, but they are needed for Zigbee to work. The simplest way to implement your project would be to begin with the light control example, and then find which&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___c_l_u_s_t_e_r_s.html"&gt;ZCL cluster&lt;/a&gt;&amp;nbsp;matches what you want to do, and then try to implement that cluster in your project. There&amp;#39;s a guide on&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/using_zigbee__z_c_l.html?cp=7_3_3_4_1#zigbee_device_imp"&gt;implementing a Zigbee end product with ZCL&lt;/a&gt;&amp;nbsp;that can be of help. Since you&amp;#39;re asking about sending binary packets, you can take a look at the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___b_i_n_a_r_y___i_n_p_u_t.html"&gt;binary input cluster&lt;/a&gt;. There&amp;#39;s also the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___m_e_s_s_a_g_i_n_g.html"&gt;messaging cluster&lt;/a&gt;, which is used for passing text messages between Zigbee devices. You should also check out the&amp;nbsp;&lt;a href="https://zigbeealliance.org/wp-content/uploads/2019/12/07-5123-06-zigbee-cluster-library-specification.pdf"&gt;ZCL specification&lt;/a&gt;&amp;nbsp;for the clusters you want to use.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You also mentioned that you wanted to use Zigbee in multiprotocol with BLE. In the SDK, this is done using &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;, where the radio hardware is time-sliced between the protocols. We also have some&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_multi_examples.html"&gt;Zigbee multiprotocol examples&lt;/a&gt;&amp;nbsp;you can check out.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/650x400/__key/communityserver-discussions-components-files/4/dynamic_5F00_multiprotocol.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>