<?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 packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21997/changing-advertisement-packet</link><description>Hey, I have my nrf 52 dk. I have soft device v3 on my nrf 52. 
 I was doing a blinky test with two boards (one central and one peripheral) 
 I was just wondering how to change the advertisement packet? (customize my command in my ad pack or change my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 May 2017 07:40:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21997/changing-advertisement-packet" /><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86320?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 07:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a65f965-bc7c-4ec1-a689-797afa37f7cc</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@binhnguyens: I think you should read the Manufacturer Specific Data section of the tutorial I linked to above. There changes from SDK v11 and v12.2.0 regarding how we initialize advertising are minimal so the tutorial should still be very relevant. As @endnode said, if you hit one specific roadblock then please post a new question where you include all the relevant information needed regarding said roadblock, i.e. what steps yo have done, which errors you&amp;#39;re getting etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86316?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 18:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:192fc18c-a3a2-4628-b4d8-77a61c475ce3</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;I tried the tutorial, its for version 11, i have version 12.2 and a library cannot be found when i try to run it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86319?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 16:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:774f9c4d-d4fa-41cc-92a8-63cfcc1f6ef3</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I would say go through all the tutorials (especially the one linked by Bjorn above) and absorb all the details how to build, debug, load the FW on nRF5x. If you have some specific roadblock then please set-up new question with precise explanation what you have as baseline, what steps you did, what do you expect and what you see instead. Sorry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86318?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 14:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22a47f1f-26e9-43e5-b2a0-d29110f8a031</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;p.s i&amp;#39;m a beginner so this stuff isn&amp;#39;t so familiar to me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86317?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 14:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2928d964-c842-4211-99e3-85e72d940156</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;@endnode I tried an example from nrf5 sdk, they include all the functions you listed. how do I change the actual packet (i have a sniffer dongle so i can read what is being sent, I want to be able to change the message) let me know if that makes sense&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86321?ContentTypeID=1</link><pubDate>Sat, 13 May 2017 20:01:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bab9a503-0976-4a4d-81e7-91cae7e96df8</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;There are many examples in nRF5 SDK, simply download, unzip and search &lt;code&gt;sd_ble_gap_adv_data_set&lt;/code&gt; in full text in all &lt;code&gt;*.c&lt;/code&gt; files under &lt;code&gt;./examples&lt;/code&gt; folder. (to be honest it&amp;#39;s pretty clear from linked documentation how to use that function, isn&amp;#39;t it?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86314?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 15:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b1317a6-332b-4ffa-bad5-4ff721a95fc7</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;is there an example that already contains all of this or something on github?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86313?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 14:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234d3865-1e27-4dd0-b19e-6bd29c68534f</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;@endnode
Can you give an example code of how this would be executed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86315?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 11:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52edb73d-1295-46d2-9b6c-896bfc107025</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I recommend that you take a look at our Advertising tutorial, found &lt;a href="https://devzone.nordicsemi.com/tutorials/5/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing advertisement packet</title><link>https://devzone.nordicsemi.com/thread/86312?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 09:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb8f7367-0f5a-43f6-b5bc-ef2e4fa72286</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, you can change ADV and SCAN_RSP data with SoftDevice API, see GAP layer functions &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_0_1_1_2_1_2"&gt;here&lt;/a&gt; (S132 V4, you can see very similar in other releases). You can basically call &lt;code&gt;sd_ble_gap_addr_set&lt;/code&gt;, &lt;code&gt;sd_ble_gap_adv_data_set&lt;/code&gt; and &lt;code&gt;sd_ble_gap_tx_power_set&lt;/code&gt; any time to influence GAP advertising procedure, they will be effective from very next advertising packer (you can call it if it isn&amp;#39;t advertising as well, then you need to call start to see the result, but you can call it even when it runs and no need to stop/start).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>