<?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 callback ZB_ZCL_REGISTER_DEVICE_CB using different cb ID values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62897/zigbee-callback-zb_zcl_register_device_cb-using-different-cb-id-values</link><description>I been having an issue using the ZB_ZCL_REGISTER_DEVICE_CB to know when the ZC writes to an attribute that is of type 0x42 String type. It seems that the callback id changes depending on the length of the string I write to the device. 
 I started with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 10:57:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62897/zigbee-callback-zb_zcl_register_device_cb-using-different-cb-id-values" /><item><title>RE: zigbee callback ZB_ZCL_REGISTER_DEVICE_CB using different cb ID values</title><link>https://devzone.nordicsemi.com/thread/268929?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 10:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c317dba3-c86f-435d-992d-ada7cbe94183</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just wanted to update the ticket. Based on this case our developers found a bug in ZCL, it makes all attributes with the &amp;quot;string&amp;quot; type unusable and can lead to unexpected ZCL callbacks. Currently a workaround could be to set all attributes that have &amp;quot;octet string&amp;quot; or &amp;quot;character string&amp;quot; type as read only, but it&amp;#39;s difficult to do something with the ZBOSS defined attributes...&lt;/p&gt;
&lt;p&gt;DSR (the ZBOSS stack provider) has been informed about the bug, perhaps they can see a workaround for this issue or solution for a next release. Thanks for reporting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee callback ZB_ZCL_REGISTER_DEVICE_CB using different cb ID values</title><link>https://devzone.nordicsemi.com/thread/263473?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 14:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7346f692-23e8-4c33-9826-1d0c03eeb8d7</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;Nothing as of right now, I have just been using a work around to get around this. &lt;/p&gt;
&lt;p&gt;Looking at the string size and when it is different, than I now that value has changed so I run the function I need and clear the string size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee callback ZB_ZCL_REGISTER_DEVICE_CB using different cb ID values</title><link>https://devzone.nordicsemi.com/thread/263365?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 08:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b965a36-034b-423f-8f1e-3cf49b034772</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Robert,&lt;/p&gt;
&lt;p&gt;I am sorry for the delay here. I am still waiting for an answer from our developers. Because of vacation time we have had low staffing in July but things should be getting back to normal now.&lt;/p&gt;
&lt;p&gt;Let me know if there are some news on this ticket from your side.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee callback ZB_ZCL_REGISTER_DEVICE_CB using different cb ID values</title><link>https://devzone.nordicsemi.com/thread/257196?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 17:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d84e51b3-cf52-46d2-951a-9d95e48e5216</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;Thank you, for now I have been using the string size to know if it has been updated. (I am now checking the string size in that call back and if it has changed then I act on it and reset it back to 0 till I hear back on how to act on receiving a string since the string has never been corrupt and has been the correct value that was written)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking forward to hearing back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee callback ZB_ZCL_REGISTER_DEVICE_CB using different cb ID values</title><link>https://devzone.nordicsemi.com/thread/257106?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 11:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f269fb8d-82d5-49fa-9520-aba84b9b43be</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I need to inspect a bit more about why this is happening. I don&amp;#39;t think the zcl_device_cb_id changes because of the string size, when I tested it seemed to depend on what has been written from before, etc, it seems very random. I also expected to get ZB_ZCL_SET_ATTR_VALUE_CB_ID as the callback ID but perhaps I am missing something. I have made an internal inquiry with our Zigbee developers about this behaviour, so I will come back to you next week with more answers &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>