<?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>Problem with fds module dont execute events after BLE connection SDK 16.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86108/problem-with-fds-module-dont-execute-events-after-ble-connection-sdk-16</link><description>Hi everyone, i have working for a few days trying to implement the fds module, i have followed the &amp;quot;flash_fds&amp;quot; example but i am struggling a lot trying to make this work. Basically i want to have a program that store parameters that persist on restarts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Mar 2022 10:23:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86108/problem-with-fds-module-dont-execute-events-after-ble-connection-sdk-16" /><item><title>RE: Problem with fds module dont execute events after BLE connection SDK 16.</title><link>https://devzone.nordicsemi.com/thread/359559?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 10:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69d45818-6d21-4969-9bd2-520e2bd537cd</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;What FDS backend are you using?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fds module dont execute events after BLE connection SDK 16.</title><link>https://devzone.nordicsemi.com/thread/359464?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 00:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a535bb55-6d2f-4717-b0bd-3a20863b3add</guid><dc:creator>Yeyzz</dc:creator><description>&lt;p&gt;Update3: The problem is directly related to enabling the soft device handling, this cause that fds events dont execute. I just start the sdh without advertising using the command&amp;nbsp;&lt;span&gt;nrf_sdh_enable_request&lt;/span&gt;&lt;span&gt;();, and then initialize the fds and the events dont execute. Also trying initializing the ble_stack, (nrf_sdh_ble_enable(&amp;amp;ram_start);) and still dont work. Can annyone have an idea why FDS events only execute when SDH is not enable? Is there another way to store data on flash without FDS? I am ussing &amp;quot;&lt;/span&gt;&lt;span&gt;NRF_SDH_DISPATCH_MODEL&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&amp;quot; i dont really know the correct way to use polling or appsh. Also in sdk_config.h i have&amp;nbsp;&lt;/span&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;FDS_BACKEND&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;2, so it should only work with SDH enable right? so it dont have much sense that only work with sdh disabled&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fds module dont execute events after BLE connection SDK 16.</title><link>https://devzone.nordicsemi.com/thread/359454?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 20:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3642e513-858e-44c0-90e7-28a6799ac4ff</guid><dc:creator>Yeyzz</dc:creator><description>&lt;p&gt;Update2: If i add the line &amp;quot;&lt;span&gt;nrf_sdh_disable_request&lt;/span&gt;&lt;span&gt;();&amp;quot; right before &amp;quot;fds_record_update&amp;quot;, the update performs without problems, but the BLE connection shutdown, and then i have to restart the device to re-enable the BLE and confirm that the &amp;quot;device name&amp;quot; settings was changed with success. So what can i do? I dont want that my program have to disable softdevice and restart everytime i wanna storage some data on flash. Is this a known issue of SDK v16.0.0?&amp;nbsp; Maybe is there a way to dispatch this fds event manually like i did with SDK v12.3.0 with the SoftDevice system event handler?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fds module dont execute events after BLE connection SDK 16.</title><link>https://devzone.nordicsemi.com/thread/359448?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 19:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23762435-df15-4ce7-abcd-771cb004708c</guid><dc:creator>Yeyzz</dc:creator><description>&lt;p&gt;Update: It seems clearly that is a conflict when the BLE is initialized, in the main routine of the program i first initialize the FDS module and then BLE module, and the fds initialization execute without problem, if i change the order and in first place i init the BLE, and then the FDS, the FDS initialization dont execute the event of write or update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>