<?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 to define the free address in flash using ble mesh?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70441/how-to-define-the-free-address-in-flash-using-ble-mesh</link><description>Hi guys, 
 I am using the nRF52832 board on which I run the LPN example from BLE Mesh directory. I put there the code for measuring the temperature and now I want to save that value in the flash. I am using the SoftDevice APIs for erasing and writing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jan 2021 15:04:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70441/how-to-define-the-free-address-in-flash-using-ble-mesh" /><item><title>RE: How to define the free address in flash using ble mesh?</title><link>https://devzone.nordicsemi.com/thread/289266?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 15:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab8d5a22-6615-41f2-9a80-36f09998141c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aduka,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using mesh SDK we would suggest you to use the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_doc_user_guide_modules_flash_manager.html?cp=7_2_2_4_1"&gt;flash manager&lt;/a&gt; library instead of using the softdevice flash API directly as it may mess up the flash manager library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please have a look at the Enocean example we have in the nRF Mesh SDK as an example on how to store application data into flash. In the example we store the device address and the enocean pair key into&amp;nbsp;m_enocean_switch_file.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>