<?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>Use FDS with Peer Manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77187/use-fds-with-peer-manager</link><description>Dear Nordic, 
 we are developing an application based on SDK 17.0.2, it user FreeRTOS and BLE with Peer Manager. 
 We need to store few data in FLASH without confict with the Softdevice and Peer Manager. 
 We based our code on &amp;quot;ble_app_hrs_rscs_relay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jun 2021 08:40:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77187/use-fds-with-peer-manager" /><item><title>RE: Use FDS with Peer Manager</title><link>https://devzone.nordicsemi.com/thread/318908?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 08:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:410588aa-aa10-42d0-ada6-8146458c0244</guid><dc:creator>StefXinet</dc:creator><description>&lt;p&gt;Hello, have you any news, any answer for us?&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use FDS with Peer Manager</title><link>https://devzone.nordicsemi.com/thread/318907?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 10:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0194b365-d347-4ac0-9a15-15e6172856d2</guid><dc:creator>StefXinet</dc:creator><description>&lt;p&gt;Dear Joakim,&lt;/p&gt;
&lt;p&gt;the problems arise when we have to manage the FDS that works asynchronously. in our code we use the peer manager but we also need to write to flash. to use FDS we have written an FDS event handler, but any event handler registered using the fds_register () function is called EVERY TIME an FDS event is raised, regardless of which part of the code called the functions (e.g. fds_gc () ; fds_record_write (); fds_record_update ();)&lt;br /&gt;In this way the peer manager and the rest of the code overlap without control&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use FDS with Peer Manager</title><link>https://devzone.nordicsemi.com/thread/318906?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 09:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7446d527-c7cb-4200-9104-231a492554e8</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]There are issue when we try to init the FDS,[/quote]
&lt;p&gt;&amp;nbsp;Do you have any more specific information about what issue?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]There is also a #define&amp;nbsp;FDS_THREADS that shuold be setted for manage multiple FDS[/quote]
&lt;p&gt;FDS_THREADS needs to be enabled to be used with FDS/FreeRTOS combo&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;We already had several customers that has already used FDS/FreeRTOS without any issues, in production, when they have enabled FDS_THREADS.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>