<?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>peer manager and FDS full</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73170/peer-manager-and-fds-full</link><description>Recently, I&amp;#39;ve found that the peer manager sometimes wrote specific information so many times 
 until the FDS storage went full. 
 An example data in the storage is as follows: 
 08C0 0400 01C0 0000 FE14 0000 (FDS header) 
 0300 0000 0800 1000 0200 0100</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Mar 2021 04:49:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73170/peer-manager-and-fds-full" /><item><title>RE: peer manager and FDS full</title><link>https://devzone.nordicsemi.com/thread/302042?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 04:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d0275a-c98d-413f-9e8f-5143d1ea2915</guid><dc:creator>Min-Joon Kim</dc:creator><description>&lt;p&gt;Thank you for your kind answers, Vidar.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Actually, it&amp;#39;s not easy to catch the right time to do garbage collection.&lt;/p&gt;
&lt;p&gt;However, according to the articles you mentioned,&lt;/p&gt;
&lt;p&gt;I guess it would be good to add flash check code prior to starting advertising.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Min-Joon Kim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer manager and FDS full</title><link>https://devzone.nordicsemi.com/thread/301866?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 10:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:409848d1-a2a3-4ea5-a220-c9b87f1854cd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Maybe the GATT client is updating the CCCDs on every re-connect as discussed it this thread: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64609/peer-manager-and-fds-new-records-at-each-connection"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/64609/peer-manager-and-fds-new-records-at-each-connection&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;But when FDS is full, do you perform &lt;span&gt;&lt;a title="Garbage collection" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_fds_functionality.html?cp=7_1_3_16_1_2#lib_fds_functionality_gc"&gt;Garbage collection&lt;/a&gt;&lt;/span&gt; to free up space again? You can use the fds_stat() function to determine when it&amp;#39;s time to run garbage collection as mentioned in this post &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72920/peer-manager-and-use-of-fds-to-store-app-settings-in-flash"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/72920/peer-manager-and-use-of-fds-to-store-app-settings-in-flash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>