<?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のトピックZigBee PRO Stack debugging (JN5168)</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-PRO-Stack-debugging-JN5168/m-p/475561#M853</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 hope that someone familiar with NXP ZigBee PRO stack for JN516x can help me, maybe someone from NXP team :smileyhappy:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask for help with debugging ZigBee PRO stack for JN516x.&lt;/P&gt;&lt;P&gt;I'm developing a ZigBee HA device based on JN5168 module.&lt;/P&gt;&lt;P&gt;I have a coordinator running ZigBee network. The netwokr is opened for joining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On JN5168 module I run JN-AN-1189-ZigBee-HA-Demo DimmableLight application.&lt;/P&gt;&lt;P&gt;The problem is, that DimmableLight app won't join the network.&lt;/P&gt;&lt;P&gt;On 802.15.4 sniffer I see, that the DimmableLight app sends Beacon Request command packet and coordinator responds with Beacon packet. This is ok.&lt;/P&gt;&lt;P&gt;The DimmableLight app discovers the network and function ZPS_eAplZdoJoinNetwork(&amp;amp;(sEZModeData.asSavedNetworks[sEZModeData.u8JoinIndex])); in haEzJoin.c is called with proper network descriptor (extended pan id, channel, ... everything match the network).&lt;/P&gt;&lt;P&gt;But ZPS_eAplZdoJoinNetwork() returns with error code 0xC2 ZPS_NWK_ENUM_INVALID_REQUEST.&lt;/P&gt;&lt;P&gt;No detailed info is provided through callback function registered with ZPS_vExtendedStatusSetCallback().&lt;/P&gt;&lt;P&gt;No packet is send on air by the app.&lt;/P&gt;&lt;P&gt;What i forgot to mention is, that I also enabled debug messages, this is the log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;Stack Event&lt;/P&gt;&lt;P&gt;E_STARTUPZPS_EVENT_NWK_DISCOVERY_COMPLETE......NWK Found, Count = 1&amp;nbsp; &lt;/P&gt;&lt;P&gt;vEZ_SortAndSaveNetworks &lt;/P&gt;&lt;P&gt;*Saving Open NWK ExPANID = 0x&amp;nbsp; 212effff00b026&lt;/P&gt;&lt;P&gt;vEZ_SortAndSaveNetworks sEZModeData.u8DiscoveredNwkCount = 1&lt;/P&gt;&lt;P&gt;API failed in vEZ_JoinSavedNetwork 194&lt;/P&gt;&lt;P&gt;Exhausted NWK Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QUESTION IS:&lt;/P&gt;&lt;P&gt;How can I discover what is wrong if I don't have source code for the ZPS_eAplZdoJoinNetwork() function and the stack itself? Is it possible to get souces of the stack?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me a hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David Tolar&lt;/P&gt;&lt;P&gt;University of West Bohemia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Apr 2016 21:39:46 GMT</pubDate>
    <dc:creator>davidtolar</dc:creator>
    <dc:date>2016-04-25T21:39:46Z</dc:date>
    <item>
      <title>ZigBee PRO Stack debugging (JN5168)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-PRO-Stack-debugging-JN5168/m-p/475561#M853</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 hope that someone familiar with NXP ZigBee PRO stack for JN516x can help me, maybe someone from NXP team :smileyhappy:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask for help with debugging ZigBee PRO stack for JN516x.&lt;/P&gt;&lt;P&gt;I'm developing a ZigBee HA device based on JN5168 module.&lt;/P&gt;&lt;P&gt;I have a coordinator running ZigBee network. The netwokr is opened for joining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On JN5168 module I run JN-AN-1189-ZigBee-HA-Demo DimmableLight application.&lt;/P&gt;&lt;P&gt;The problem is, that DimmableLight app won't join the network.&lt;/P&gt;&lt;P&gt;On 802.15.4 sniffer I see, that the DimmableLight app sends Beacon Request command packet and coordinator responds with Beacon packet. This is ok.&lt;/P&gt;&lt;P&gt;The DimmableLight app discovers the network and function ZPS_eAplZdoJoinNetwork(&amp;amp;(sEZModeData.asSavedNetworks[sEZModeData.u8JoinIndex])); in haEzJoin.c is called with proper network descriptor (extended pan id, channel, ... everything match the network).&lt;/P&gt;&lt;P&gt;But ZPS_eAplZdoJoinNetwork() returns with error code 0xC2 ZPS_NWK_ENUM_INVALID_REQUEST.&lt;/P&gt;&lt;P&gt;No detailed info is provided through callback function registered with ZPS_vExtendedStatusSetCallback().&lt;/P&gt;&lt;P&gt;No packet is send on air by the app.&lt;/P&gt;&lt;P&gt;What i forgot to mention is, that I also enabled debug messages, this is the log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;Stack Event&lt;/P&gt;&lt;P&gt;E_STARTUPZPS_EVENT_NWK_DISCOVERY_COMPLETE......NWK Found, Count = 1&amp;nbsp; &lt;/P&gt;&lt;P&gt;vEZ_SortAndSaveNetworks &lt;/P&gt;&lt;P&gt;*Saving Open NWK ExPANID = 0x&amp;nbsp; 212effff00b026&lt;/P&gt;&lt;P&gt;vEZ_SortAndSaveNetworks sEZModeData.u8DiscoveredNwkCount = 1&lt;/P&gt;&lt;P&gt;API failed in vEZ_JoinSavedNetwork 194&lt;/P&gt;&lt;P&gt;Exhausted NWK Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QUESTION IS:&lt;/P&gt;&lt;P&gt;How can I discover what is wrong if I don't have source code for the ZPS_eAplZdoJoinNetwork() function and the stack itself? Is it possible to get souces of the stack?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me a hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David Tolar&lt;/P&gt;&lt;P&gt;University of West Bohemia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:39:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-PRO-Stack-debugging-JN5168/m-p/475561#M853</guid>
      <dc:creator>davidtolar</dc:creator>
      <dc:date>2016-04-25T21:39:46Z</dc:date>
    </item>
  </channel>
</rss>

