<?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: JN5168 Error: Unknown Endpoint in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843519#M5658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hue Bridges do support ZLL and ZB3, but for now I'm only using JN-AN-1194 with ZLL.&lt;/P&gt;&lt;P&gt;The color light endpoints are configured with the ZLL Profile id and I also have the vOverideProfileId method which is&amp;nbsp; registered with ZPS_vAplZdoRegisterProfileCallback.&lt;/P&gt;&lt;P&gt;It's weird that the application itself doesn't know the endpoints, although they're in the app.zpscfg and registered with&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;eZLL_RegisterColourLightEndPoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jul 2018 19:35:23 GMT</pubDate>
    <dc:creator>dogboy21</dc:creator>
    <dc:date>2018-07-28T19:35:23Z</dc:date>
    <item>
      <title>JN5168 Error: Unknown Endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843517#M5656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying to create an application for my JN5168 MCU, based on the JN-AN-1171 application note.&lt;/P&gt;&lt;P&gt;When I want to connect it to my Hue Bridge, the log shows that the MCU joined the Zigbee network as a router as expected. However after that, the error&amp;nbsp;E_ZCL_ERR_EP_UNKNOWN shows up for every endpoint configured in my app.zpscfg. The error is triggered by command 0x0A, which seems to be the "&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Report Attributes&lt;/SPAN&gt;" command. I correctly register the endpoints in the application with&amp;nbsp;eZLL_RegisterColourLightEndPoint and also double checked with debug outputs. The&amp;nbsp;tsZCL_EndPointDefinition of the device is also correctly populated with all properties, so I don't quite understand the cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone knows an answer.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 20:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843517#M5656</guid>
      <dc:creator>dogboy21</dc:creator>
      <dc:date>2018-07-23T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 Error: Unknown Endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843518#M5657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicolas,&lt;/P&gt;&lt;P&gt;As you know, the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;JN-AN-1171 only supports&amp;nbsp;Zigbee Light Link, so first of all, you have to be sure your Hue Bridge supports ZLL or ZB3.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;If you add extra endpoints to a ZLL application all commands will go out using the ZLL Profile ID (assuming you associated it with the new endpoint) rather than the ZHA Profile ID which is necessary to control devices like bulbs.&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Our ZDO implementation allows a callback to be registered that is called prior to transmitting any commands and allows the default Profile ID (ZLL) to be overridden if sending commands to bulbs the ZHA Profile ID needs to be used instead. All our ZLL devices already invoke this callback:&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-cpp line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;ZPS_vAplZdoRegisterProfileCallback&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;vOverideProfileId&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

The code in the callback function in our ZLL devices is similar to the following&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;
 
PRIVATE &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;vOverideProfileId&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint16&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; pu16Profile&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; uint8 u8Ep&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;u8Ep &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; CONTROLLER_COLORCONTROLLER_REMOTE_ENDPOINT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;pu16Profile &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x0104&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&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>Fri, 27 Jul 2018 21:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843518#M5657</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2018-07-27T21:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 Error: Unknown Endpoint</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843519#M5658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hue Bridges do support ZLL and ZB3, but for now I'm only using JN-AN-1194 with ZLL.&lt;/P&gt;&lt;P&gt;The color light endpoints are configured with the ZLL Profile id and I also have the vOverideProfileId method which is&amp;nbsp; registered with ZPS_vAplZdoRegisterProfileCallback.&lt;/P&gt;&lt;P&gt;It's weird that the application itself doesn't know the endpoints, although they're in the app.zpscfg and registered with&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;eZLL_RegisterColourLightEndPoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 19:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Error-Unknown-Endpoint/m-p/843519#M5658</guid>
      <dc:creator>dogboy21</dc:creator>
      <dc:date>2018-07-28T19:35:23Z</dc:date>
    </item>
  </channel>
</rss>

