<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Disabling Default Response when sending attribute report? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033190#M8965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to disable Default Reponse when sending an attribute report with eZCL_ReportAttribute, but I am unable to get it to work. I have ZCL_DISABLE_DEFAULT_RESPONSES set to TRUE in my zcl_options.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a thermostat_device, and I can confirm that sEndPoint.bDisableDefaultReponse is set to TRUE after registering the endpoint using eHA_RegisterThermostatEndPoint. I verified that the value of sEndPoint.bDisableDefaultReponse&amp;nbsp; does not change at a later stage. However when I send an attribute response using eZCL_ReportAttribute, sniffing the packets show that the Disable Default Response flag is set to FALSE. I also see the Default Response packet from the coordinator, which is then followed by an APS ACK from my device (although I also disabled ZPS ACKs by setting ZCL_DISABLE_APS_ACK to TRUE in my zcl_options.h file). I am working with a JN5169 chipset and the JN-SW-4170 SDK. How can I get it to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 20:06:50 GMT</pubDate>
    <dc:creator>pldrouin_</dc:creator>
    <dc:date>2020-02-03T20:06:50Z</dc:date>
    <item>
      <title>Disabling Default Response when sending attribute report?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033190#M8965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to disable Default Reponse when sending an attribute report with eZCL_ReportAttribute, but I am unable to get it to work. I have ZCL_DISABLE_DEFAULT_RESPONSES set to TRUE in my zcl_options.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a thermostat_device, and I can confirm that sEndPoint.bDisableDefaultReponse is set to TRUE after registering the endpoint using eHA_RegisterThermostatEndPoint. I verified that the value of sEndPoint.bDisableDefaultReponse&amp;nbsp; does not change at a later stage. However when I send an attribute response using eZCL_ReportAttribute, sniffing the packets show that the Disable Default Response flag is set to FALSE. I also see the Default Response packet from the coordinator, which is then followed by an APS ACK from my device (although I also disabled ZPS ACKs by setting ZCL_DISABLE_APS_ACK to TRUE in my zcl_options.h file). I am working with a JN5169 chipset and the JN-SW-4170 SDK. How can I get it to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 20:06:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033190#M8965</guid>
      <dc:creator>pldrouin_</dc:creator>
      <dc:date>2020-02-03T20:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Default Response when sending attribute report?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033191#M8966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are doing great.&lt;/P&gt;&lt;P&gt;What is the AN that you are working on?&lt;/P&gt;&lt;P&gt;Could you please provide the sniffer logs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please print the&amp;nbsp;bDisableDefaultResponse value of the endpoint that you are disabling the response?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 01:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033191#M8966</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-02-05T01:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Default Response when sending attribute report?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033192#M8967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hi Mario,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;My firmware is based on JN-AN-1217. I think I might have found the source of the issue. Look at zcl.c in JN-SW-4170 version 1840 (the latest) on line 1205 in the eZCL_ReportAttribute function. u16ZCL_WriteCommandHeader is called with the default responses Enabled. It is using a hardcoded TRUE value there instead of using the value of bDisableDefaultResponse from the EndPoint struct. I did try to print the value of bDisableDefaultResponse and it was 1 as desired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;P-L&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 17:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033192#M8967</guid>
      <dc:creator>pldrouin_</dc:creator>
      <dc:date>2020-02-05T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Default Response when sending attribute report?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033193#M8968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you still have issues with the&amp;nbsp;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;bDisableDefaultResponse&lt;SPAN&gt;&amp;nbsp;value.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 23:16:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Disabling-Default-Response-when-sending-attribute-report/m-p/1033193#M8968</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-02-05T23:16:55Z</dc:date>
    </item>
  </channel>
</rss>

