<?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>How I can clear Pending Publish Messages after disabling and Re-enabling NRF Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82561/how-i-can-clear-pending-publish-messages-after-disabling-and-re-enabling-nrf-mesh</link><description>For power optimization I did to disable Mesh Using this piece of Code 
 and Re- Enable using this code 
 
 So the Real Question is that , After disabling Mesh for some time and then re-enable Mesh I should see Publish Messages after Re-enabling Mesh </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Dec 2021 05:49:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82561/how-i-can-clear-pending-publish-messages-after-disabling-and-re-enabling-nrf-mesh" /><item><title>RE: How I can clear Pending Publish Messages after disabling and Re-enabling NRF Mesh</title><link>https://devzone.nordicsemi.com/thread/342809?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 05:49:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ae461a3-8b7c-4b54-8b0d-071bda099814</guid><dc:creator>msalmankhan334</dc:creator><description>&lt;p&gt;I know about &lt;span style="text-decoration:underline;"&gt;mesh_stack_power_down()&lt;/span&gt; function&amp;nbsp; and I have tried , If I call this API , the mesh is completely power down&amp;nbsp;&lt;br /&gt;what if I need to turn it ON again , can you tell me how to do that ?&lt;br /&gt;&lt;br /&gt;The case I am telling&amp;nbsp; about is this link : &lt;a title="link" href="https://devzone.nordicsemi.com/f/nordic-q-a/68937/sensor-server-model-sample-setup-the-periodic-publication-period-directly-in-the-code" rel="noopener noreferrer" target="_blank"&gt;//devzone.nordicsemi.com/f/nordic-q-a/68937/sensor-server-model-sample-setup-the-periodic-publication-period-directly-in-the-code&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if need any further elaboration&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How I can clear Pending Publish Messages after disabling and Re-enabling NRF Mesh</title><link>https://devzone.nordicsemi.com/thread/342770?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 16:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48aaef85-6be9-4a5c-9d51-0a3e5f7a1196</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nrf_mesh_disable() will stop the mesh communication (sending and receiving messages over the air.) It will not, for instance, remove any messages that were already pending. Therefore you will see after nrf_mesh_enable() that it continues wehere it left off, as if nothing had happened.&lt;/p&gt;
&lt;p&gt;There is a function &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fgroup__MESH__STACK.html&amp;amp;anchor=ga93ed7f6a4f34fb5fcb27fcdf38e1f6b1"&gt;mesh_stack_power_down()&lt;/a&gt; which can be used to completely shut down the mesh stack (including storing to flash the state needed for starting up operations at a later point in time.) It is intended for a full power down (reset) situation. It is thoroughly documented on Infocenter: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_power_down.html"&gt;Power-down feature&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For low-power applications, you could consider the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_lpn_concept.html"&gt;Low Power node feature&lt;/a&gt;. It does require some nodes in the network with Friend node capabilities, and the Friend feature enabled.&lt;/p&gt;
&lt;p&gt;Regarding the other case that you mention, which case is that? Do you have a link?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>