<?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: device under a router is actively off the network in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897150#M6583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;ZPS_vTCSetCallback&amp;nbsp;Callback function on the Trust Centre, where this callback function allows the application to react to a notification from another network node. The vNfTcCallback is the function callback.&lt;/P&gt;&lt;P&gt;You could send a management leave request to that specific device, you will see the device will be deleted from the table.&lt;/P&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, 03 May 2019 18:18:51 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2019-05-03T18:18:51Z</dc:date>
    <item>
      <title>device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897147#M6580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The project I used is JN-AN-1216&lt;BR /&gt;When a device under a router is actively off the network, the coordinator does not receive tZPS_EVENT_NWK_LEAVE_INDICATION event. The device under the router is off the network, what notification will the coordinator receive?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 01:40:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897147#M6580</guid>
      <dc:creator>yblinyblin</dc:creator>
      <dc:date>2019-05-01T01:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897148#M6581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I am understanding the router left the network and you are looking for the Leave Indication.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could define the&amp;nbsp;#define BDB_SET_DEFAULT_TC_POLICY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(FALSE) as true in the bdb_options.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are defining a callback that you can add the event that you are looking for. bdb_nf.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;PRIVATE bool vNfTcCallback &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint16 u16ShortAddress&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             uint64 u64DeviceAddress&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             uint64 u64ParentAddress&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             uint8 u8Status&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             uint16 u16MacId &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;u8Status &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; BDB_TC_STATUS_DEVICE_LEFT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
     &lt;SPAN class="token function"&gt;DBG_vPrintf&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;TRUE&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"BDB_TC_STATUS_DEVICE_LEFT %d\r\n"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;u8Status&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
     &lt;SPAN class="token function"&gt;DBG_vPrintf&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;TRUE&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"u64DeviceAddress %016x\n"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;u64DeviceAddress&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
     &lt;SPAN class="token function"&gt;DBG_vPrintf&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;TRUE&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"u16ShortAddress %04x\n"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;u16ShortAddress&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&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;/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;&lt;/P&gt;&lt;P&gt;Note: You must commend the&amp;nbsp;ZPS_vTCSetCallback( APP_bSendHATransportKey ); beacuse you are defining 2 callbacks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&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>Wed, 01 May 2019 19:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897148#M6581</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-05-01T19:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897149#M6582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;   What's the difference between ZPS_vTCSetCallback and vNfTcCallback？ZPS_vTCSetCallback can get off-line events. &lt;/P&gt;&lt;P&gt;   My problem is, I found that after the sub-device under the coordinator is off the network, the TClinkkey saved in the PDM area will be cleared. However, after the sub-device under the router is off-grid, the TClinkkey in the PDM area will not be cleared. Off, this will cause an old device to remain in the coordinator, causing new devices to not be added.&lt;/P&gt;&lt;P&gt;  yblin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 02:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897149#M6582</guid>
      <dc:creator>yblinyblin</dc:creator>
      <dc:date>2019-05-02T02:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897150#M6583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;ZPS_vTCSetCallback&amp;nbsp;Callback function on the Trust Centre, where this callback function allows the application to react to a notification from another network node. The vNfTcCallback is the function callback.&lt;/P&gt;&lt;P&gt;You could send a management leave request to that specific device, you will see the device will be deleted from the table.&lt;/P&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, 03 May 2019 18:18:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897150#M6583</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-05-03T18:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897151#M6584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;         Are you talking about the table NT? However, if the device is not online and cannot receive the off-grid request, NT will not delete the device information. How to solve this situation&lt;/P&gt;&lt;P&gt;         asTclkStruct is Store the offset position of the TClinkkey，When a child device under a router is off the network, asTclkStruct does not clear the linkkey of the device. Will cause new devices to not be added。&lt;/P&gt;&lt;P&gt;          How to solve this situation。&lt;/P&gt;&lt;P&gt;          yblin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 May 2019 03:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897151#M6584</guid>
      <dc:creator>yblinyblin</dc:creator>
      <dc:date>2019-05-04T03:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897152#M6585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can send a management leave request to the device, if it is offline you will not receive an ack from them, but the information will be deleted. But, if the device comes online, it will join the network again, because it already knows the keys. So, if it returns you should create in your application a table for the leave devices that you erase previously.&lt;/P&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>Mon, 06 May 2019 15:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897152#M6585</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-05-06T15:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: device under a router is actively off the network</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897153#M6586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to send&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;a management leave request&lt;SPAN&gt;&amp;nbsp;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Is use&amp;nbsp;APP_eZdpMgmtLeave() function?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I have sam&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;problem。&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;I have try use APP_eZdpMgmtLeave(),&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;But did not solve the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2020 09:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/device-under-a-router-is-actively-off-the-network/m-p/897153#M6586</guid>
      <dc:creator>qingshuzhuang</dc:creator>
      <dc:date>2020-03-01T09:15:45Z</dc:date>
    </item>
  </channel>
</rss>

