<?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>Migrate the Persistent storage Manager to SDK MESH 4.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56485/migrate-the-persistent-storage-manager-to-sdk-mesh-4-0-0</link><description>I&amp;#39;m migrating my code from the MESH SDK 3.1.0 to 4.0.0 I&amp;#39;m using the following function to initialize a persistance storage controller 
 
 
 The new SDK doesn&amp;#39;t use the ACCESS_FLASH_PAGE_COUNT and the NET_FLASH_PAGE_COUNT Macros. It doesn&amp;#39;t support morevoer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Apr 2020 09:11:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56485/migrate-the-persistent-storage-manager-to-sdk-mesh-4-0-0" /><item><title>RE: Migrate the Persistent storage Manager to SDK MESH 4.0.0</title><link>https://devzone.nordicsemi.com/thread/246430?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 09:11:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87e007dc-0c31-498d-ae14-651bbf9acacc</guid><dc:creator>ipshiv</dc:creator><description>&lt;p&gt;custom_data_manager_config.p_area = (const flash_manager_page_t *)(((const uint8_t *)dsm_flash_area_get()) - (ACCESS_FLASH_PAGE_COUNT * PAGE_SIZE) - (NET_FLASH_PAGE_COUNT * PAGE_SIZE));&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Instead of dsm_flash_area_get() you should use flash_manager_recovery_page_get(), but I can&amp;#39;t figure out is it needed to minus (ACCESS_FLASH_PAGE_COUNT * PAGE_SIZE) - (NET_FLASH_PAGE_COUNT * PAGE_SIZE).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Or you can try to use #include &amp;quot;mesh_config_backend_glue.h&amp;quot; mesh_config_backend_flash_usage_get()&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s possible please share your success, my code is&amp;nbsp; crashing while runnig.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate the Persistent storage Manager to SDK MESH 4.0.0</title><link>https://devzone.nordicsemi.com/thread/230349?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 12:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3798460-deac-4b9a-8d00-67bbf8b3ab23</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry about the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This should be covered in the Migration guides (v3.1.0 -&amp;gt; v3.2.0 / v3.2.0 -&amp;gt; v4.0.0):&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.0.0/md_MIGRATION_GUIDE.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.0.0/md_MIGRATION_GUIDE.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate the Persistent storage Manager to SDK MESH 4.0.0</title><link>https://devzone.nordicsemi.com/thread/229593?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 12:24:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebd319dd-b4ef-4592-acb5-631c360c03db</guid><dc:creator>Andrea Pieretti</dc:creator><description>&lt;p&gt;Please, I cannot use the new SDK 4.0.0 without solve this issue.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>