<?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 different advertising  data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26818/send-different-advertising-data</link><description>Hai team, 
 iam using sdk_12 and ble_app_beacon ,i want to send different advertising packets in one frequency interval.
let us consider example : iam using frequency interval 4 and i want to advertise some numbers [0,1,2,3] along with default advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Nov 2017 09:29:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26818/send-different-advertising-data" /><item><title>RE: Send different advertising  data</title><link>https://devzone.nordicsemi.com/thread/105410?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 09:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8316d03d-275b-412e-b890-5a17c69d1eb7</guid><dc:creator>mani</dc:creator><description>&lt;p&gt;Thanks for information sir.
it helps me a lot .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send different advertising  data</title><link>https://devzone.nordicsemi.com/thread/105409?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2017 12:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63358a76-534e-4794-a69c-365778d23135</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Dear mani,&lt;/p&gt;
&lt;p&gt;Yes, &lt;code&gt;ble_radio_notification&lt;/code&gt; library is the best way if you only perform single broadcasting/advertising activity. Your &lt;code&gt;ble_radio_notification_evt_handler&lt;/code&gt; function (which for whatever reason you named &lt;code&gt;fun&lt;/code&gt; in your example above) will be called before and after each radio event (which typically consists of at least three Tx packets - each on one adv. channel - and can contain also SCAN_REQ/SCAN_RSP exchange if your ADV_xxx packets are scannable). Simply check boolean parameter of the call and act accordingly (if you want to set the data before the event or once it&amp;#39;s done). You can typically call any of these functions which influence advertising packets:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sd_ble_gap_adv_data_set&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sd_ble_gap_tx_power_set&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remember that you cannot call other functions which mess up with Soft Device (stack) state machine so don&amp;#39;t even think about advertising start/stop or other things. It also has limitation that you cannot change adv. type, interval, timeout, channel mask (which of 3 adv. channels will be used) or any other parameter which can be only set during start. If you need to change these then you basically need to go with another stack or write your own broadcasting layer and avoid BLE stack completely (this is feasible for GAP Broadcaster only and there are examples in nRF5 SDK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>