<?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 Re: Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1173906#M10326</link>
    <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; The MCU is the JN5189.&amp;nbsp; I could try using that other API, but is there a reason that what I am trying isn't working?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Anthony&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 14:09:51 GMT</pubDate>
    <dc:creator>anthony_r_myers</dc:creator>
    <dc:date>2020-10-27T14:09:51Z</dc:date>
    <item>
      <title>Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1164620#M10234</link>
      <description>&lt;P&gt;I'm trying to write a temperature measurement value from an end node to a Zigbee router.&amp;nbsp; I've tried to follow some of the examples for how the OnOff toggle command is sent.&amp;nbsp; A similar API is not provided for the TemperatureMeasurement cluster.&amp;nbsp; Here is what I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;float temp_F;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;tsZCL_Address sDestinationAddress;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;teZCL_Status eStatus;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;uint8 u8seqNo;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;int16 zero = 0;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;int16 ninety_nine = 9900;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;int16 temp_F_16;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;temp_F = get_temp_F();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;DBG_vPrintf(TRUE, "\r\n\r\n\r\n");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;DBG_vPrintf(TRUE, "*** current temp: %d.%d F\r\n\r\n", (uint8)temp_F, (uint8)(temp_F * 10) % 10);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;// send the temperature&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;sDestinationAddress.eAddressMode = E_ZCL_AM_BOUND_NON_BLOCKING;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;temp_F_16 = (int16)(100 * temp_F);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;tsZCL_TxPayloadItem asPayloadDefinition[] =&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; {1, E_ZCL_INT16, &amp;amp;temp_F_16},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; {1, E_ZCL_INT16, &amp;amp;zero},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; {1, E_ZCL_INT16, &amp;amp;ninety_nine},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000080"&gt;eStatus = eZCL_CustomCommandSend(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; COORDINATOR_APPLICATION_ENDPOINT,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; 0,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; &amp;amp;sDestinationAddress,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; HA_TEMPERATUREMEASUREMENT_CLUSTER_ID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; FALSE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; E_CLD_TEMPMEAS_ATTR_ID_MEASURED_VALUE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; &amp;amp;u8seqNo,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; asPayloadDefinition,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; FALSE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; 0,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;&amp;nbsp;&amp;nbsp; sizeof(asPayloadDefinition) / sizeof(tsZCL_TxPayloadItem)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#000080"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I check the value of eStatus, it's E_ZCL_ERR_CLUSTER_NOT_FOUND.&amp;nbsp; I believe I've setup the clusters correctly in the .zpscfg file.&amp;nbsp; Does it look like I'm doing something wrong in the custom command send API, or should I look elsewhere?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1164620#M10234</guid>
      <dc:creator>anthony_r_myers</dc:creator>
      <dc:date>2020-10-08T15:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1166164#M10254</link>
      <description>&lt;P&gt;Hi Antony,&lt;/P&gt;
&lt;P&gt;I hope you are doing great.&lt;/P&gt;
&lt;P&gt;I am assuming that you follow the next community post to add a new cluster.&lt;A href="http://ZigBee%203.0: Adding Clusters" target="_self"&gt;&amp;nbsp;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;ZigBee 3.0: Adding Clusters&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;What is the application note that you are using to implement this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;You are getting the next value, it is because the next validation&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;        if(eZCL_SearchForClusterEntry(u8SourceEndPointId, u16ClusterId, bDirection, &amp;amp;psZCL_ClusterInstance) != E_ZCL_SUCCESS)
        {
            return(E_ZCL_ERR_CLUSTER_NOT_FOUND);
        }&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;What is the value of the&amp;nbsp;&lt;SPAN&gt;HA_TEMPERATUREMEASUREMENT_CLUSTER_ID?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 14:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1166164#M10254</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-10-12T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1168220#M10271</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Yes.&amp;nbsp; I am trying to implement this in the 1243 Coordinator, talking to the 1244 Router.&amp;nbsp; The value of HA_TEMPERATUREMEASUREMENT_CLUSTER_ID is 0x0402, and is defined in zps_gen.h.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Anthony&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:09:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1168220#M10271</guid>
      <dc:creator>anthony_r_myers</dc:creator>
      <dc:date>2020-10-15T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1170456#M10290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157782"&gt;@anthony_r_myers&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the MCU that you are working on?&lt;/P&gt;
&lt;P&gt;You could also send this temperature following the next community post.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Wireless-Connectivity/How-to-send-Data-from-SED-to-Coordinator-on-JN5168-Module/m-p/776876" target="_self"&gt;How to send Data from SED to Coordinator on JN5168 Module&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You could use the same function in the coordinator.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 16:21:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1170456#M10290</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-10-20T16:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1173906#M10326</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; The MCU is the JN5189.&amp;nbsp; I could try using that other API, but is there a reason that what I am trying isn't working?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Anthony&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 14:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1173906#M10326</guid>
      <dc:creator>anthony_r_myers</dc:creator>
      <dc:date>2020-10-27T14:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee: Problem using eZCL_CustomCommandSend for TemperatureMeasurement cluster</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1173964#M10329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157782"&gt;@anthony_r_myers&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please look at the JN-AN-1246&amp;nbsp;&lt;A href="https://www.nxp.com/products/wireless/thread/jn5189-88-t-high-performance-and-ultra-low-power-mcus-for-zigbee-and-thread-with-built-in-nfc-option:JN5189_88_T?tab=Documentation_Tab" target="_self"&gt;JN5189/88&lt;/A&gt;&amp;nbsp;This example implements a temperature sensor.&lt;/P&gt;
&lt;P&gt;Loot at the documentation included in the zip file.&amp;nbsp;6.6 Light, Temperature and Occupancy Sensor Application Code&lt;/P&gt;
&lt;P&gt;Let me know if you have any further questions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:25:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Problem-using-eZCL-CustomCommandSend-for/m-p/1173964#M10329</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-10-27T16:25:22Z</dc:date>
    </item>
  </channel>
</rss>

