<?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>Update advertisement data with the help of radio notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13012/update-advertisement-data-with-the-help-of-radio-notification</link><description>Hi! 
 We are using ble_radio_notification for changing the advertisement data after every advertisement.
The problem is that it doesn&amp;#39;t work, the device freezes when trying to do this. 
 Here are some code snippets that might give you a better understanding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Apr 2016 08:51:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13012/update-advertisement-data-with-the-help-of-radio-notification" /><item><title>RE: Update advertisement data with the help of radio notification</title><link>https://devzone.nordicsemi.com/thread/49593?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 08:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d40d4a6-e874-4ab6-ba6b-8a2b93ff4d41</guid><dc:creator>Kristoffer Hilmersson</dc:creator><description>&lt;p&gt;Thanks alot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update advertisement data with the help of radio notification</title><link>https://devzone.nordicsemi.com/thread/49592?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 08:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a43cf3-c9b8-4779-ab2e-20ae052c7a8c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You cannot make sd_* SVC calls from a priority that is higher than the lowest SoftDevice priority. As long as the radio notification IRQ priority is set to &lt;code&gt;APP_IRQ_PRIORITY_LOW&lt;/code&gt; you should be good. For nRF51 &lt;code&gt;APP_IRQ_PRIORITY_LOW&lt;/code&gt; is set to 3, as you write. However, nRF52 have more priority levels, and &lt;code&gt;APP_IRQ_PRIORITY_LOW&lt;/code&gt; is 6. If you have specified priority level 3 manually, you would have set a priority that is higher than the lowest SoftDevice priority, which will lead to a hard fault. You can see the details in components/libraries/util/app_util_platform.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>