<?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 Flash Manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64838/mesh-flash-manager</link><description>On SDK16.0.0 + Mesh SDK 4.1.0 
 I am trying to store some user data using the Flash Manager. I am modifying the light switch server mesh example. 
 There are a lot of posts about this, but none of them have a final answer how to get it done. 
 Here is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Aug 2020 20:34:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64838/mesh-flash-manager" /><item><title>RE: Mesh Flash Manager</title><link>https://devzone.nordicsemi.com/thread/266334?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 20:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3be5fdf-f6e1-4424-8636-d9d55626a88a</guid><dc:creator>ftjandra</dc:creator><description>&lt;p&gt;Follow up question. I want to read my user data before mesh_init(). How would I do that?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Flash Manager</title><link>https://devzone.nordicsemi.com/thread/265353?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2020 13:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a697099e-fec4-49aa-83d9-6dd17fe403cc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;- Yes defragmentation and power failure protection is taken care of in flash manger which mesh config running on top.&amp;nbsp;&lt;br /&gt;- The documentation is what we have, we don&amp;#39;t have other guides for this module. I would suggest to read about them in the code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the Enocean we don&amp;#39;t check if the storage is successful or not as we don&amp;#39;t have other task need to wait for that to finish. But you can have a look at the restored_result_apply() function&amp;nbsp; in netstate.c. persist_completed_notify() event handler is added when we do seqnum_block_allocate().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Flash Manager</title><link>https://devzone.nordicsemi.com/thread/265199?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 22:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21383464-8c38-460e-af0b-7b4c51823fe7</guid><dc:creator>ftjandra</dc:creator><description>&lt;p&gt;Oh, I&amp;#39;ve never even heard about the mesh config module.&lt;/p&gt;
&lt;p&gt;- Is there some more information about how to use default values?&lt;/p&gt;
&lt;p&gt;- If mesh_config_entry_set() returns&amp;nbsp;NRF_SUCCESS, can one assume that the values have been successfully stored? The documentation mentions waiting for&amp;nbsp;NRF_MESH_EVT_CONFIG_STABLE event or checking via&amp;nbsp;mesh_config_is_busy(), but the enocean example doesn&amp;#39;t do this.&lt;/p&gt;
&lt;p&gt;- Since the backend is based on Flash Manager, I assume that defragmentation, power failure protection, etc is all taken care of?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Flash Manager</title><link>https://devzone.nordicsemi.com/thread/265066?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 11:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a871fa-8d6d-430d-9b60-f52bf988b38d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ferdi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not recommended to use the flash_manager directly.&amp;nbsp;&lt;br /&gt;Instead we suggest to use the mesh config module to store your own data instead.&amp;nbsp;&lt;br /&gt;You can find the documentation with example code &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.2.0/md_doc_user_guide_modules_mesh_config.html?cp=7_2_2_4_3"&gt;here&lt;/a&gt;.&lt;br /&gt;You can also have a look at our Enocean_switch example to see how it&amp;#39;s implemented. In the example we store the state of the light switch to flash when we receive a packet.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>