<?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>mesh sdk api &amp;quot;nrf_mesh_node_config_clear()&amp;quot; not work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31260/mesh-sdk-api-nrf_mesh_node_config_clear-not-work</link><description>Hi All: 
 i met a trouble. 
 i want to implement a function that i can restore mesh device by uart cmd. 
 so , i add uart to light switch service demo, when i recive a cmd &amp;quot;AT+RESTORE&amp;quot;, i will run nrf_mesh_node_config_clear() to clear flash data. 
 but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Mar 2018 13:51:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31260/mesh-sdk-api-nrf_mesh_node_config_clear-not-work" /><item><title>RE: mesh sdk api "nrf_mesh_node_config_clear()" not work</title><link>https://devzone.nordicsemi.com/thread/124604?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 13:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d5404aa-b979-40e1-8846-83cee6eba7d4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;commenting out sd_app_evt_wait is ok, if you do not care much about the low power modes.&lt;/p&gt;
&lt;p&gt;commenting out net_state_reset is not ok since it will not reset the sequence number, flashed state and IV indexes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh sdk api "nrf_mesh_node_config_clear()" not work</title><link>https://devzone.nordicsemi.com/thread/124250?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 01:27:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5cd3989-34ef-4bfc-8aca-eeb0715b1e3c</guid><dc:creator>Not2Good Sir</dc:creator><description>&lt;p&gt;Hi Aryan:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for your answer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; My Mesh SDK is 1.0.1 , &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; your means i call&amp;nbsp;&lt;span&gt;nrf_mesh_node_config_clear() in low interrupt (in main), then, high level interrupt triggerd and that operation flash. so happen this ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i &amp;nbsp;found that i commit sd_app_evt_wait(); &amp;nbsp;will this affect normal work?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1520990324752v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i find this is can implement my need, when i commit net_state_reset();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1520990654733v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; i do not understand, how do i call the mesh API , is the correct usage?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh sdk api "nrf_mesh_node_config_clear()" not work</title><link>https://devzone.nordicsemi.com/thread/124178?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 13:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c332f48-8c3b-4852-9ec5-575a2fd38422</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Jijang,&lt;/p&gt;
&lt;p&gt;you should call that function from main&lt;/p&gt;
&lt;p&gt;Currently, it is not possible to work in the different interrupt levels within stack algorithms. That causes impossibility nested handlers&amp;nbsp;excluding high priority radio stuff. The issue has been reproduced in the current version because of the public API is invoked from the main loop in the example(with thread mcu priority). There is the limitation for calling the public API (see documentation subclause&amp;nbsp;&amp;#39;Interrupt priority levels&amp;#39;).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#39;Limitations&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Except for calling initialization related functions before entering the main loop, no mesh API functions must be called from an IRQ priority other than the one specified in the configuration. Breaking this rule may cause unpredictable behavior.&amp;#39;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh sdk api "nrf_mesh_node_config_clear()" not work</title><link>https://devzone.nordicsemi.com/thread/124173?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 13:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f1e035f-c3b5-41de-9cd0-0167c57c6e30</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Jijang,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have seen similar kind of error in non mesh solutions when trying to access flash in multi context. I have asked the Mesh expert to look into this issue, to see if this is the case. Will come back to you soon when he responds&lt;/p&gt;
&lt;p&gt;Before, that can you please let me know which Mesh SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>