<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LPN won&amp;#39;t unprovision</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86896/lpn-won-t-unprovision</link><description>Hello, I&amp;#39;m trying to get an LPN to unprovision itself based off of an external command. I tried to base it off of the examples so I simply call: However after the reset it still immediately pairs back with it&amp;#39;s friend and still seems to have retained</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 May 2022 15:41:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86896/lpn-won-t-unprovision" /><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/367696?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 15:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ff670a-b787-40a4-a49f-a281e952f3c8</guid><dc:creator>Alex Ross</dc:creator><description>&lt;p&gt;I found adding:&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; mesh_stack_power_down();&lt;br /&gt;&lt;br /&gt;At the end of the function calls did the trick.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/367531?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 07:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54730c18-bc96-46aa-8ca2-cc21998c7e97</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems pretty strange. Could you try with the LPN example without any modifications? Pressing button 4 should reset the node. Do you see the same behaviour?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/367239?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 15:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a72071b7-fc90-4629-b22d-0b1b6fb89d20</guid><dc:creator>Alex Ross</dc:creator><description>&lt;p&gt;I think it had to as I have init messages pop up again after it should have been called.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/367125?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 09:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1ed5f40-6eb4-4284-afa0-97e633fc839d</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not seeing node_reset() being called since 4 isn&amp;#39;t being printed. Can you see if this is the case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/366768?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 15:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c04439b7-20fc-4c43-8126-5dde7e5ac7d3</guid><dc:creator>Alex Ross</dc:creator><description>&lt;p&gt;Sorry for the delay!&lt;br /&gt;&lt;br /&gt;I walked through with a debugger and everything looked right. I added these messages to ensure full execution:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void mesh_unprovision(void)
{
__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, __RECEIVE__ &amp;quot;1\n&amp;quot;);
(void) proxy_stop();
__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, __RECEIVE__ &amp;quot;2\n&amp;quot;);
mesh_stack_config_clear();
__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, __RECEIVE__ &amp;quot;3\n&amp;quot;);
dsm_clear();
__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, __RECEIVE__ &amp;quot;4\n&amp;quot;);
node_reset();
__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, __RECEIVE__ &amp;quot;5\n&amp;quot;);
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;t:    1233929&amp;gt;, mesh_interface.c,  458, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    1509965&amp;gt;, mesh_interface.c,  458, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    1793067&amp;gt;, mesh_interface.c,  327,  RX: Unprovision request
00&amp;gt; &amp;lt;t:    1793070&amp;gt;, mesh_interface.c,  332,  RX: Executing...
00&amp;gt; &amp;lt;t:    2350794&amp;gt;, mesh_interface.c,  342,  RX: 1
00&amp;gt; &amp;lt;t:    2477728&amp;gt;, mesh_interface.c,  344,  RX: 2
00&amp;gt; &amp;lt;t:    6003326&amp;gt;, mesh_interface.c,  346,  RX: 3
00&amp;gt; &amp;lt;t:    6129078&amp;gt;, mesh_i&amp;lt;t:      49888&amp;gt;, main.c,  151, ----- Pin init done -----
00&amp;gt; &amp;lt;t:      49890&amp;gt;, main.c,  154, ----- Timer init done -----
00&amp;gt; &amp;lt;t:      49893&amp;gt;, uart_interface.c,   73, ----------UART init complete 
00&amp;gt; &amp;lt;t:      62090&amp;gt;, nrf_sdh_ble.c,  240, RAM starts at 0x20002488&amp;lt;t:      62092&amp;gt;, main.c,  160, ----- NUS init done -----
00&amp;gt; &amp;lt;t:      62711&amp;gt;, nrf_mesh_dfu.c,  690, ------&amp;gt;nrf_mesh_dfu_init 6
00&amp;gt; &amp;lt;t:      62718&amp;gt;, mesh_interface.c,  187, Initializing and adding models
00&amp;gt; &amp;lt;t:      62764&amp;gt;, mesh_interface.c,  224, Initting LPN mode 
00&amp;gt; &amp;lt;t:      62766&amp;gt;, main.c,  163, ----- Mesh init done -----
00&amp;gt; &amp;lt;t:      62769&amp;gt;, mesh_interface.c,  509, Mesh Timer init finished 
00&amp;gt; &amp;lt;t:      63037&amp;gt;, main.c,  179, ----- Initalize done -----
00&amp;gt; &amp;lt;t:      63040&amp;gt;, mesh_interface.c,  108, Node Address: 0x001B 
00&amp;gt; &amp;lt;t:      63043&amp;gt;, mesh_app_utils.c,   66, Device UUID (raw): 
00&amp;gt; &amp;lt;t:      63059&amp;gt;, mesh_interface.c,  256, &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/363222?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 14:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5443cead-0301-4ebc-be8f-ee82f1735e1e</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;But have you debugged the code to see if these functions:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(void) proxy_stop();
mesh_stack_config_clear();
dsm_clear();
node_reset();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;are called?&lt;/p&gt;
&lt;p&gt;It seems like the functions aren&amp;#39;t really called at all.&lt;/p&gt;
[quote user="aross11"]One thing of note is that I do have the bootloader (/Bootloader/nrf52833_secure_bootloader.hex) running on it as well for DFU.[/quote]
&lt;p&gt;I don&amp;#39;t think this will cause any issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/363197?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 12:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2d7bec7-40d3-4974-8a0f-3da0fc5467cb</guid><dc:creator>Alex Ross</dc:creator><description>&lt;p&gt;I&amp;#39;ve done a few tests to really be sure:&lt;br /&gt;-I have logging active so I can see my startup message, the startup is displayed, still retains it&amp;#39;s friendship status&amp;nbsp;&lt;br /&gt;-We have an external watchdog, I forced an infinite loop so the watch dog would latch, it did, still same issue&lt;br /&gt;&lt;br /&gt;One thing of note is that I do have the bootloader (/Bootloader/nrf52833_secure_bootloader.hex) running on it as well for DFU.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mesh 5.0.0 SDK&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN won't unprovision</title><link>https://devzone.nordicsemi.com/thread/363191?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 12:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d31cec45-6fe9-4ed7-8360-f255e80d0d09</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you stepped through the code and see if the node is actually reset?&lt;/p&gt;
&lt;p&gt;What SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>