<?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>Wireless MCU中的主题 Re: Problem getting ZigBee IEEE address with KW41Z</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1340817#M12036</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. Are you sure that you are passing a valid shortAddress when the ZPS_u64AplZdoLookupIeeeAddr function is called?&lt;/P&gt;
&lt;P&gt;In which handler are you calling the ZPS_u64AplZdoLookupIeeeAddr function?&lt;/P&gt;
&lt;P&gt;Could you give more information? What example are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 18:11:22 GMT</pubDate>
    <dc:creator>Ricardo_Zamora</dc:creator>
    <dc:date>2021-09-15T18:11:22Z</dc:date>
    <item>
      <title>Problem getting ZigBee IEEE address with KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1336291#M11946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a Centralized ZigBee Network and a Router gets write attributes from End Devices. I need the IEEE address of these End Devices to know where the data came from, so I use the method &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;uint64_t&lt;/FONT&gt; ieeeAddress = ZPS_u64AplZdoLookupIeeeAddr(shortAddress)&lt;/STRONG&gt;&lt;/EM&gt; in the event handler with the argument &lt;STRONG&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;tsZCL_CallBackEvent&lt;/FONT&gt; *psEvent &lt;/EM&gt;&lt;/STRONG&gt;that brings the Short Address. But some times I get the IEEE Address&amp;nbsp; as 0 and don't know why. Until I reset and rejoin the end device I keep receiving 0 as IEEE address. Then after reset the End Device the Router again takes the IEEE Address fine. I need to fix the issue by not restarting de Zeds again and again.&lt;/P&gt;&lt;P&gt;Hope you can help me, thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 21:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1336291#M11946</guid>
      <dc:creator>alejandrovelez</dc:creator>
      <dc:date>2021-09-07T21:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting ZigBee IEEE address with KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1340817#M12036</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. Are you sure that you are passing a valid shortAddress when the ZPS_u64AplZdoLookupIeeeAddr function is called?&lt;/P&gt;
&lt;P&gt;In which handler are you calling the ZPS_u64AplZdoLookupIeeeAddr function?&lt;/P&gt;
&lt;P&gt;Could you give more information? What example are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 18:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1340817#M12036</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2021-09-15T18:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting ZigBee IEEE address with KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1340835#M12037</link>
      <description>&lt;P&gt;Hi Ricardo, thanks for your help&lt;/P&gt;&lt;P&gt;I'm sure of the shortAddress, it works almost all the times, but for some reason (maybe after a rejoin) the&amp;nbsp;ZPS_u64AplZdoLookupIeeeAddr function gives me a value of 0 for the End Device until a new reset or rejoin of the End Device, then the&amp;nbsp;ZPS_u64AplZdoLookupIeeeAddr functions works fine again.&lt;/P&gt;&lt;P&gt;I'm using the frdmkw41z_wireless_examples_zigbee_3_0_router_freertos example. I have a ZigBee coordinator, and multiple End Devices writing custom attributes. I use the function in the APP_ZCL_cbEndpointCallback(tsZCL_CallBackEvent *&lt;FONT color="#800080"&gt;psEvent&lt;/FONT&gt;) callback (app_zcl_task.c file) and the E_ZCL_CBET_WRITE_INDIVIDUAL_ATTRIBUTE event.I get the short address this way:&lt;/P&gt;&lt;P&gt;uint16_t shortAddress = &lt;FONT color="#993366"&gt;psEvent&lt;/FONT&gt;-&amp;gt;pZPSevent-&amp;gt;uEvent.sApsDataIndEvent.uSrcAddress.u16Addr;&lt;/P&gt;&lt;P&gt;shortAddress has correct value at this point when the problem occurs, but ZPS_u64AplZdoLookupIeeeAddr gives always zero only for that End Device. Again, after the reset of the end device with the problem, the function works correctly, I wonder if some table updates in the Router, I don't know. But in the application I can restart the end devices every time the problem occurs. I tried using the vFbSendIeeeAddrReq function, but doesn't work either.&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 18:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-getting-ZigBee-IEEE-address-with-KW41Z/m-p/1340835#M12037</guid>
      <dc:creator>alejandrovelez</dc:creator>
      <dc:date>2021-09-15T18:51:52Z</dc:date>
    </item>
  </channel>
</rss>

