<?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>Changing Advertisement data while advertising not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34897/changing-advertisement-data-while-advertising-not-working</link><description>I am working on SDKv14 with S132 softdevice and was trying to modify the Heart Rate Example to vary the Manufacturer Specific Data after each advertisement. After searching quite a bit, I found out that it can be done with the help of the radio_notification_event_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 May 2018 16:53:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34897/changing-advertisement-data-while-advertising-not-working" /><item><title>RE: Changing Advertisement data while advertising not working</title><link>https://devzone.nordicsemi.com/thread/134088?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 16:53:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b39f903-977a-44b1-a03a-d604e4a0411d</guid><dc:creator>Atul Bansal</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The SDK completely freezes. Though I was able to find out the solution to the problem, which I was facing. I had set the Interrupt Priority to 3, which was not correct as sd_*SV calls from an interrupt must have lower or equal priority than the lowest Softdevice priority. I reduced it to 7 and the it started working. I found it here -&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/13012/update-advertisement-data-with-the-help-of-radio-notification"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/13012/update-advertisement-data-with-the-help-of-radio-notification&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Advertisement data while advertising not working</title><link>https://devzone.nordicsemi.com/thread/134049?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 13:31:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fe168d6-a7d6-4d1f-bb5a-ecc05fdaeca2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wonder why you have pasted code from the implementation in ble_radio_notification.c file in the SDK (IRQ stuf). Have you modified it somehow? It will be easier to say anything about what could be happening if you can specify which state your application is in when it stopped advertising. Any error code returned from a function call?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11777/fastest-method-to-update-advertisement-data"&gt;This thread&lt;/a&gt; covers how to update the advertising data using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v5.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_2_1_1_2_1_2_2#gaddbb12e078d536ef2e93b41d77ff6243"&gt;sd_ble_gap_adv_data_set&lt;/a&gt;. You can also see the question in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33606/updating-advertising-data-manuf-spec-data-in-sdk15/133416#133416"&gt;this thread&lt;/a&gt; listing code for SDK 14.2 and SDK 15.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>