<?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: return E_ZCL_FAIL when register endpoint</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882034#M6273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/witoldsowa"&gt;witoldsowa&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static bool isRegisterTimerOTA = FALSE;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if (isRegisterTimerOTA == FALSE) {&lt;BR /&gt; isRegisterTimerOTA = TRUE;&lt;BR /&gt; // add timer click function to ZCL&lt;BR /&gt; if(eZCL_TimerRegister(E_ZCL_TIMER_CLICK_MS, 0, vOtaTimerClickCallback)!= E_ZCL_SUCCESS)&lt;BR /&gt; {&lt;BR /&gt; return(E_ZCL_FAIL);&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;This is my way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/estephania_martinez"&gt;estephania_martinez&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I think NXP should fix this bug and update sdk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2020 14:21:04 GMT</pubDate>
    <dc:creator>nguyenanhgiau10</dc:creator>
    <dc:date>2020-02-26T14:21:04Z</dc:date>
    <item>
      <title>return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882027#M6266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My application have 4 endpoint. If I dont import OTA Upgrade, I still can control these 4 endpoint. But, when I import OTA Upgrade, I can not control any Endpoint, but EP 1.&lt;/P&gt;&lt;P&gt;In UART log, I see error when register EP 2, 3 and 4 with error code is 01 (E_ZCL_FAIL).&lt;/P&gt;&lt;P&gt;Do you know this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 03:07:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882027#M6266</guid>
      <dc:creator>nguyenanhgiau10</dc:creator>
      <dc:date>2019-03-11T03:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882028#M6267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try adding the OTA support from the properties of the project just as the image attached? There might be some missing information either from the makefile or other files that should be added by that definition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OTA.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73445i8F4E881B9309EC9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="OTA.jpg" alt="OTA.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 02:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882028#M6267</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-14T02:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882029#M6268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Estephania,&lt;/P&gt;&lt;P&gt;Did you build application that have more than 1 EP with OTA Upgrade?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 06:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882029#M6268</guid>
      <dc:creator>nguyenanhgiau10</dc:creator>
      <dc:date>2019-03-14T06:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882030#M6269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, using that and adding the OTA=1 definition in the code was enough for it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 21:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882030#M6269</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-21T21:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882031#M6270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did like that, but it still get error.&lt;/P&gt;&lt;P&gt;Finally, I find that SDK use the same timer OTA for all EP (OTA.c), it is problem.&lt;/P&gt;&lt;P&gt;Thanks Estephania!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 01:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882031#M6270</guid>
      <dc:creator>nguyenanhgiau10</dc:creator>
      <dc:date>2019-03-22T01:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882032#M6271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is good that you were able to solve it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 18:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882032#M6271</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-22T18:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882033#M6272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I got into the same problem recently and just found the same root cause.&amp;nbsp;eOTA_Create function in OTA.c which is called for every registered endpoint calls&amp;nbsp;eOtaRegisterTimeServer. But you want to register time server only once for all EPs not for each of them. Trying to register for each of them causes error as we run out of resources (timers) and regustration of second and subsequent EPs fails. I have manage to fixed it for myself but the question I have is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why this bug in OTA.c hasn't been fixed if this problem was raised on this forum a year ago?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 21:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882033#M6272</guid>
      <dc:creator>witoldsowa</dc:creator>
      <dc:date>2020-02-25T21:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882034#M6273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/witoldsowa"&gt;witoldsowa&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static bool isRegisterTimerOTA = FALSE;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if (isRegisterTimerOTA == FALSE) {&lt;BR /&gt; isRegisterTimerOTA = TRUE;&lt;BR /&gt; // add timer click function to ZCL&lt;BR /&gt; if(eZCL_TimerRegister(E_ZCL_TIMER_CLICK_MS, 0, vOtaTimerClickCallback)!= E_ZCL_SUCCESS)&lt;BR /&gt; {&lt;BR /&gt; return(E_ZCL_FAIL);&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;This is my way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/estephania_martinez"&gt;estephania_martinez&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I think NXP should fix this bug and update sdk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 14:21:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882034#M6273</guid>
      <dc:creator>nguyenanhgiau10</dc:creator>
      <dc:date>2020-02-26T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: return E_ZCL_FAIL when register endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882035#M6274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did exactly the same. The question to the NXP remains though... Why the fix hasn't been released for a year? And then a more rhetorical question is why&amp;nbsp;someone should build their solution on the NXP's chip rather then Nordic or Texas if NXP is not fixing bugs that users raise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Feb 2020 02:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/return-E-ZCL-FAIL-when-register-endpoint/m-p/882035#M6274</guid>
      <dc:creator>witoldsowa</dc:creator>
      <dc:date>2020-02-29T02:26:55Z</dc:date>
    </item>
  </channel>
</rss>

