<?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>How to declare client poll control cluster in a Zigbee coordinator for an IAS zone device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77501/how-to-declare-client-poll-control-cluster-in-a-zigbee-coordinator-for-an-ias-zone-device</link><description>Hello Nordic support, 
 I am working on a Zigbee coordinator application to make it work with an IAS zone Zigbee device. 
 As per the Zigbee device specification, &amp;#39;&amp;#39;when it starts up, it auto scans for client poll control cluster on the coordinator. If</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jul 2021 13:09:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77501/how-to-declare-client-poll-control-cluster-in-a-zigbee-coordinator-for-an-ias-zone-device" /><item><title>RE: How to declare client poll control cluster in a Zigbee coordinator for an IAS zone device</title><link>https://devzone.nordicsemi.com/thread/320271?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 13:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d430783-d25c-4e28-bef9-5d3704d69ad0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Anusha,&lt;/p&gt;
&lt;p&gt;If the callback&amp;nbsp;ias_sensor_zcl_cmd_cb is not called, then it means that the device does not receive any ZCL commands, as when you register a callback with ZB_ZCL_REGISTER_DEVICE_CB, you set a callback to be used when the device&amp;nbsp;receives ZCL commands, and you want the application to handle the commands in specific way. Does it enter the callback if you try to send other ZCL commands to the device? Do you have a specific case for&amp;nbsp;ZB_ZCL_POLL_CONTROL_CHECK_IN_CLI_CB_ID in your callback function?&lt;/p&gt;
&lt;p&gt;I see that you are using both&amp;nbsp;ias_sensor_window_device_ctx_t and&amp;nbsp;ias_sensor_device_ctx_t, and that only the latter is used later on, at least in the code you have shared here.&amp;nbsp;Are these two different device contexts, and the sensor window device context is used somewhere else, or are they supposed to be the same? Besides this the code you have shared looks correct, and your clusters are declared correctly as far as I can see.&lt;/p&gt;
&lt;p&gt;You can try to test if you are able to interact with the poll control cluster at all, if you have other devices you can use for this. This might not solve the problem, as you might be able to interact with it even if there is something wrong&amp;nbsp;causing the other device to not find it, but you will at least be able to tell if other devices can find the cluster or not. If you have another DK or dongle, you can for example use the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_example_cli_agent.html"&gt;Zigbee CLI Agent&lt;/a&gt;&amp;nbsp;example on the other device and send commands to the coordinator. After setting up the CLI agent, you can send commands such as a simple descriptor request,&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_example_cli_reference.html#simple_desc_req"&gt;simple_desc_req&lt;/a&gt;,&amp;nbsp;to get the simple descriptor of the device, which contains a list of in and out clusters. Then you will see whether the poll control cluster appears in the cluster lists or not. You can also try to read attributes of that cluster with&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_example_cli_reference.html#readattr"&gt;zcl attr read&lt;/a&gt;.&lt;/p&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>