<?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 Ad Packs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22100/changing-ad-packs</link><description>Hi, I&amp;#39;m trying to change ad packets in the blinky example. I want to be able to keep blinking but change the ad packs (don&amp;#39;t know if this make sense, but main goal is to change the ad packets)
The example is here 
 I&amp;#39;m trying to use the function sd_ble_gap_adv_data_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 May 2017 21:06:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22100/changing-ad-packs" /><item><title>RE: Changing Ad Packs</title><link>https://devzone.nordicsemi.com/thread/86833?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 21:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2922fac1-325d-42f4-8c5b-de4790ea8432</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;It&amp;#39;s the code I already posted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Ad Packs</title><link>https://devzone.nordicsemi.com/thread/86832?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 15:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc91705b-f28c-45dc-9b2e-15646ff0b238</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;@RK thank you for your response. do you know how to change ad packets by any chance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Ad Packs</title><link>https://devzone.nordicsemi.com/thread/86831?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 21:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac9df4b1-9be3-46f4-86ef-5d433f8b715a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;That code won&amp;#39;t even compile, it&amp;#39;s not even C.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re not supposed to try implementing sd_ble_gap_adv_data_set(), you&amp;#39;re supposed to call it.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void my_change_adv_data_method()
{
    char adv_data[3] = { 0x1e, 0xff, 0x00 };
    sd_ble_gap_adv_data_set( adv_data, sizeof(adv_data), NULL, 0);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;something more like that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>