<?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>No callbacks pstorage from S130, SDK 11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15111/no-callbacks-pstorage-from-s130-sdk-11</link><description>I am playing with nrf51 DK. I used the following sample code, 
 devzone.nordicsemi.com/.../ 
 ble_app_template_with_pstorage_SDK_8_1_0.zip 
 I want to pstorage clear/store in button event callback function, &amp;quot;void bsp_event_handler(bsp_event_t event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jul 2016 06:50:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15111/no-callbacks-pstorage-from-s130-sdk-11" /><item><title>RE: No callbacks pstorage from S130, SDK 11</title><link>https://devzone.nordicsemi.com/thread/57713?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 06:50:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5217be-a5a4-421f-8a0d-c3695a84642a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help! I would appreciate if you could mark the answer as correct by click the checkmark in a circle to the left of the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No callbacks pstorage from S130, SDK 11</title><link>https://devzone.nordicsemi.com/thread/57714?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 00:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a6ba67e-5512-4458-9f4b-1dc128570992</guid><dc:creator>sosse</dc:creator><description>&lt;p&gt;Thanks!! now, it works fine by using scheduler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No callbacks pstorage from S130, SDK 11</title><link>https://devzone.nordicsemi.com/thread/57712?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 14:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a539fd5-7a17-4e24-9644-21f2705cc894</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You cannot wait for the  pstorage callback to set the pstorage_wait_flag in the bsp callback. This is because the bsp callback runs at the same priority as the pstorage callback, which will block the pstorage callback.&lt;/p&gt;
&lt;p&gt;You can use the scheduler to move the execution from interrupt context to mains context, please see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/group__app__scheduler.html?resultof=%22%61%70%70%22%20%22%73%63%68%65%64%75%6c%65%72%22%20%22%73%63%68%65%64%75%6c%22%20"&gt;this&lt;/a&gt; Infocenter page.&lt;/p&gt;
&lt;p&gt;Please refer the nRF51 Compatibility Matrices, found &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/pdflinks/nrf51_comp_matrix.html?cp=3_0"&gt;here&lt;/a&gt;, in order to identify the correct SDK and SD version for your chip revision.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>