<?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>2 beacon packets same chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11732/2-beacon-packets-same-chip</link><description>Hello, my question is pretty clear i guess. Is it possible to schedule advertising of 2 different packets on the same chip ? 
 The way i see it, it should be possible to initialise 2 ble_gap_adv_params_t sturctures, and then in main i can start advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Feb 2016 13:59:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11732/2-beacon-packets-same-chip" /><item><title>RE: 2 beacon packets same chip</title><link>https://devzone.nordicsemi.com/thread/44357?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2016 13:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7553a282-ff08-4460-94b6-3ff7bd3e14c5</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;You can use sd_ble_gap_adv_data_set to update the advertisement data in on_ble_radio_active_evt().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 beacon packets same chip</title><link>https://devzone.nordicsemi.com/thread/44356?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 14:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08464fe3-c1d9-4981-88c3-33cb26a5aaba</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sure it is. You can use &lt;code&gt;on_ble_radio_active_evt(...)&lt;/code&gt; function from &lt;code&gt;/components/ble/ble_radio_notification module&lt;/code&gt; which notifies you before each advertising event. This allows you to alter advertising data before each broadcast so you can e.g. be switching two different data formats which will appear with double the adv. frequency. It should be even possible to alter Adv. Address which should make your device visible as two virtually independent broadcasters. Of course this can scale up to more than 2 virtual devices, the only problem could be value of advertising interval (e.g. you couldn&amp;#39;t pretend to be two devices with 20ms connectable advertisement because stack doesn&amp;#39;t support 10ms effective adv. interval). If you would like to have your broadcaster connectable (as slave) then you might face problems with keeping the broadcasts during the ongoing connection (you can only do Unconnectable broadcasting when serving connection as GAP peripheral). But I guess this is far beyond your intentions...&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>