<?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>FDS Memory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45556/fds-memory</link><description>SDK 15.1 API 6.1 and i use SES 
 I removed previous as i was trying ot use fstorage. I switched to fds calls and it seems to work better. 
 However, does the fds calls take time or work in unison. 
 Using the flash_fds example, i made a function to return</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2020 14:50:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45556/fds-memory" /><item><title>RE: FDS Memory</title><link>https://devzone.nordicsemi.com/thread/253588?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 14:50:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0e05381-5af9-4539-9170-6472f8626a2b</guid><dc:creator>nRF_ble_5</dc:creator><description>&lt;p&gt;I am having the same issue: I am using a variable to detect the FDS_EVT_DEL_RECORD but i get stuck in while loop forever. Can you please share how you solved the problem ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Memory</title><link>https://devzone.nordicsemi.com/thread/179610?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 20:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf6cf34-37fe-4450-be84-33384b774853</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;Did some stuff working with the interrupts. got it working good now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Memory</title><link>https://devzone.nordicsemi.com/thread/179534?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 13:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49238d73-05f3-4d19-a85e-cc9827af05d1</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;Is there a proper way to convert this asynchronous task into a synchronous task?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Memory</title><link>https://devzone.nordicsemi.com/thread/179522?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 13:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1754a82c-37f8-47ef-8766-7ebefb842492</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The fds_file_delete() API is asynchronous (it schedules the flash operation), which means that the record won&amp;#39;t be erased until you receive the FDS_EVT_DEL_RECORD event in your registered fds&amp;nbsp;callback. Did you try to wait for this event before you&amp;nbsp;searched for the record?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;EDIT: sorry, I overlooked the last part of your question showing&amp;nbsp;your FDS callback. It&amp;#39;s called in an interrupt context so the while loop will become blocking and prevent the&amp;nbsp;app from receiving new FDS events.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>