<?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>Send data (advertise) packet on Ble when the button is press.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77633/send-data-advertise-packet-on-ble-when-the-button-is-press</link><description>Here I use gpiote and Ble_template_example. 
 
 
 The advertisement code is working fine but now I use button interrupt to send different payload or the button press change the advertising name to something new . 
 here is the interrupt code I use but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Jul 2021 12:25:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77633/send-data-advertise-packet-on-ble-when-the-button-is-press" /><item><title>RE: Send data (advertise) packet on Ble when the button is press.</title><link>https://devzone.nordicsemi.com/thread/320888?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 12:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff4972b7-cc40-4da1-86b8-2afb170fec8e</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you seen this tutorial on how to update the advertising data? &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;See also this ticket: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43464/modify-ble-advertising-tutorial-to-change-advertising-data-on-button-press/170248#170248"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/43464/modify-ble-advertising-tutorial-to-change-advertising-data-on-button-press/170248#170248&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>