<?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>Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22868/fstorage-queue-runs-full-when-bluetooth-connected</link><description>I&amp;#39;m trying to store some values with fstorage. The store operations seem to be queued successfully, but never executed. I currently have this to test the behavior: 
 FS_REGISTER_CFG(fs_config_t fs_config) =
{
 .callback = fs_evt_handler, // Function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jun 2017 12:41:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22868/fstorage-queue-runs-full-when-bluetooth-connected" /><item><title>RE: Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/thread/89899?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 12:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0df91309-801b-4ec7-b50b-6ca874dfb0f7</guid><dc:creator>A Knecht</dc:creator><description>&lt;p&gt;Thanks, that was the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/thread/89898?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2017 13:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4505648-21fd-47f3-9d43-ef59ee9a4fb2</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Are you dispatching system events to fstorage?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/thread/89902?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2017 10:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce3df43e-289c-4cbf-81b8-29f85050b6b4</guid><dc:creator>A Knecht</dc:creator><description>&lt;p&gt;I edited the queston to reflect what I&amp;#39;m currently trying.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/thread/89901?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 10:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd792309-f2ff-42f2-91d0-67019c42a728</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;It should not be any problem to write a word every second.&lt;/p&gt;
&lt;p&gt;What does your code for updating the value look like?&lt;/p&gt;
&lt;p&gt;How do you check for error codes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/thread/89903?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 13:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e740fd82-4cc4-46d9-9373-ee2ac2c9417a</guid><dc:creator>A Knecht</dc:creator><description>&lt;p&gt;I&amp;#39;m currently trying to write 1 word per second. Just verified that the queue runs full also when BLE isn&amp;#39;t connected. I didn&amp;#39;t touch any of the BLE parameters. What I have for the connection interval is&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(100, UNIT_1_25_MS)            /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(200, UNIT_1_25_MS)            /**&amp;lt; Maximum acceptable connection interval (1 second). */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also, I found that my static global variable that is assigned in my characteristic write handler to reflect whether I&amp;#39;m currently recording sensor values is reset back to 0 after disconnect by the __scatterload_copy function (according to callstack, using access breakpoint). What does this mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fstorage Queue Runs Full when Bluetooth Connected</title><link>https://devzone.nordicsemi.com/thread/89900?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 13:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de70e963-03ab-489a-b5cb-b0961fa8616d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;How much data do you continuously want to write to flash?&lt;/p&gt;
&lt;p&gt;Which connection interval do you use when in a BLE connection?&lt;/p&gt;
&lt;p&gt;Does the flash writing work fine when BLE is not in use? Or if there is no BLE connection, just advertising?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>