<?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>Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68437/implementing-ias-zone</link><description>Hello, 
 I am trying to implement the IAS Zone on a nRF52840DK, with reference to the CLI agent example. 
 How do I get the IASZone.h and zcl_option.h file? 
 Where do I include the structures, functions, etc. into? 
 Thank you. 
 Regards, 
 Terence</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 08:34:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68437/implementing-ias-zone" /><item><title>RE: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/292391?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 08:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc9b71d-9185-46b0-a7a4-e6b2f8adc6a7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Nikita,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There are no IAS Zone examples in the SDK unfortunately. That&amp;#39;s a mistake in the documentation. Now users will have to implement it themselves. I would suggest you create a new support case to get some help implementing it.&lt;br /&gt;&lt;/span&gt;&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: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/292331?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 17:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c45040a-17bc-4ea0-9ab5-a55d586b80be</guid><dc:creator>Nik</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I am also trying to implement &lt;span&gt;IAS Zone enrollment &lt;/span&gt;in the Zigbee &lt;span&gt;CLI agent example, but could not find sufficient amount of documentation and/or samples to figure out correct way of implementing enrollment algorithm using ZBOSS API. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have read &amp;sect;8.2 in ZigBee Cluster Library Specs and ZBOSS IAS Zone clusters API specs, which were very useful, but still incomplete. &lt;/span&gt;At the end of the block with&amp;nbsp;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___i_a_s___z_o_n_e.html"&gt;IAS Zone server example&lt;/a&gt; I found following &lt;/span&gt;reference: &amp;quot;The complete set of IAS Zone samples can be found in /application/ias_zone_sensor&amp;quot;, so I was hoping to find missing bits of implementation sequence there, but could not locate that folder neither in the nRF SDK (4.1.0), nor in in the ZBOSS 1.0 SDK. Could you please help me to find those samples?&lt;/p&gt;
&lt;p&gt;- Nikita&lt;/p&gt;
&lt;p&gt;P.S.&amp;gt; Aside from that, where can I find definition of the macro &lt;strong&gt;ZB_GET_BUF_PARAM&lt;/strong&gt;() which is used sometimes inside callback functions, like &lt;strong&gt;zcl_specific_cluster_cmd_handler&lt;/strong&gt;() given in the above mentioned IAS Zone command handler sample. I assume this is an obsolete cast, which disappeared in SDK v4.x, but it is still unclear what to do to it, when it is found in samples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280818?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 10:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f2b3dd8-c701-48c2-ad75-2d540db6a3c4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Terence,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you implement &lt;span&gt;IAS Zone&amp;nbsp;&lt;/span&gt;in the &lt;span&gt;CLI agent example&lt;/span&gt; correctly, the sniffer is able to trace the package.&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: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280775?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 08:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d320a9c0-15cf-4e95-8dac-3a7d4ffc4878</guid><dc:creator>TerenceC</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;What I meant was, I&amp;#39;ve already sniffed and gotten a .pcap file of both a normal communication between a hub and an end device, and another .pcap file of the nrf52840dk running on cli with the same end device. I only need to implement the commands present in the normal ZigBee .pcap which are missing in the .pcap of the cli example, am I right?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Terence&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280755?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 06:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb2a3503-d313-4cf9-9c7f-7ce63a7422de</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Terence,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Not sure I understand the question. If your Zigbee application can work correctly, you should able to use&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-802154"&gt;nRF-Sniffer-for-802154&lt;/a&gt;&lt;span&gt;&amp;nbsp;for the 802.15.4 protocols, like Thread and Zigbee to get the sniffed packets.&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: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280741?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 04:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a1d6467-d4d7-4f4f-9ff4-04a3f8edc066</guid><dc:creator>TerenceC</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;So am I right to say that I should be able to program IAS correctly by implementing all the commands as seen from the sniffed packets?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Terence&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280544?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 09:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274d0295-5e5c-4099-a51d-e4db8631836a</guid><dc:creator>TerenceC</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Great to know that the ZCL APIs are provided for use. I guess I only can rely on the Macros, etc. in the ZCL APIs then. And yeah, thanks for the final two links, even though I found out after sending the previous reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Terence&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280525?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 08:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19da68a2-703d-45d4-b5dc-8bc59fa5aedf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terence,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no&amp;nbsp;&lt;span&gt;zcl_option.h in the&amp;nbsp;nRF5_SDK_for_Thread_and_Zigbee. Not sure what function you want, but all the ZCL functions are in&amp;nbsp;&lt;a title="ZCL API" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zcl__api.html?cp=7_3_5_1_1"&gt;ZCL API&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You would have to implement IAS Zone enrollment, which is an extra step in the commissioning process, in order to get it to work. In order to do this, you should read up on the IAS Zone cluster in the &lt;a title="https://zigbeealliance.org/wp-content/uploads/2019/12/07-5123-06-zigbee-cluster-library-specification.pdf" href="https://zigbeealliance.org/wp-content/uploads/2019/12/07-5123-06-zigbee-cluster-library-specification.pdf" rel="noopener noreferrer" target="_blank"&gt;ZCL specification&lt;/a&gt; (chapter 8.2), specifically the implementation guidelines, which can be found in chapter &lt;span&gt;8.2.2.2.3&amp;nbsp;&lt;/span&gt;as well as our documentation for the &lt;a title="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___i_a_s___z_o_n_e.html" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___i_a_s___z_o_n_e.html" rel="noopener noreferrer" target="_blank"&gt;IAS Zone cluster API&lt;/a&gt; and try to implement it using that.&lt;/p&gt;
[quote user="TerenceC"]After the required implementations, how do I update the hex file for the nRF52840DK?[/quote]
&lt;p&gt;&amp;nbsp;See the&amp;nbsp;&lt;a title="Programming the firmware" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/program_app_ses.html?cp=1_1_2_7_4"&gt;Programming the firmware&lt;/a&gt;&amp;nbsp;documentation&amp;nbsp;and &lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;ab_channel=NordicSemiconductor"&gt;tutorial video&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: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280485?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 00:45:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd3eeea4-49d2-48ad-a0fd-c5e190317c4c</guid><dc:creator>TerenceC</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;What about the zcl_option.h?&lt;/p&gt;
&lt;p&gt;So, in order to implement the IAS Zone into the CLI agent example, I only need to add the relevant codes in the CLI agent example in &amp;quot;examples/zigbee/experimental/cli/cli_agent/main.c itself and include the relevant IASZone and zcl_option header files in the example am I right?&lt;/p&gt;
&lt;p&gt;As for the function etc, I can just use the APIs in the nRF5 SDK for Thread and ZigBee?&lt;/p&gt;
&lt;p&gt;After the required implementations, how do I update the hex file for the nRF52840DK?&lt;/p&gt;
&lt;p&gt;Sorry I&amp;#39;m kinda lost as its my first time attempting to do implementation on a development board.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Terence&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing IAS Zone</title><link>https://devzone.nordicsemi.com/thread/280333?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 12:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cdd5152-e3b7-48c6-abbe-7cf853171786</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terence,&amp;nbsp;&lt;/p&gt;
[quote user=""]How do I get the IASZone.h and zcl_option.h file?[/quote]
&lt;p&gt;&lt;a title="ZCL API" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zcl__api.html?cp=7_3_5_1_1"&gt;ZCL API&lt;/a&gt;&amp;nbsp;is under&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK-for-Thread-and-Zigbee/Download#infotabs"&gt;nRF5_SDK_for_Thread_and_Zigbee&lt;/a&gt;\external\zboss\include\zcl which includes&amp;nbsp;&lt;a title="ZCL IAS Zone cluster" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___z_c_l___i_a_s___z_o_n_e.html?cp=7_3_5_1_1_4_9"&gt;ZCL IAS Zone cluster&lt;/a&gt;&amp;nbsp;(zb_zcl_ias_zone.h)&lt;/p&gt;
[quote user=""]Where do I include the structures, functions, etc. into?[/quote]
&lt;p&gt;&amp;nbsp;Please see&amp;nbsp;&lt;a title="Including header files" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_headers_ses.html?cp=1_1_2_7_5_1"&gt;Including header files&lt;/a&gt;&amp;nbsp;documentation.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>