<?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>Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13002/any-chance-to-get-support-for-multiple-advertising-messages</link><description>Hello, 
 I really need the ability to switch between different advertising messages. Could you please (please!) add a callback after an advertising message has been sent or allow different advertising messages to be queued?
I want e.g. two advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jun 2016 08:42:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13002/any-chance-to-get-support-for-multiple-advertising-messages" /><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49546?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2016 08:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4735ac-b34e-4d94-8130-71fdfef2b98d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Re-iterating that the method to establish connections is already available in the &lt;a href="https://devzone.nordicsemi.com/question/74418/any-chance-to-get-support-for-multiple-advertising-messages/?answer=83098#post-id-83098"&gt;github repo mentioned in my answer&lt;/a&gt;. However this is limited only to the peripheral role, you still need to use the master role from the Softdevice for connections. Would this address your issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49551?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 12:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c523f4c5-de33-4a70-a64b-83f19428258d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;@Marius I agree that it should be done in the softdevice, however the timelines are not easy to control, If you implement it in the timeslot API, you are in better control of timelines and also have the ability to use it with multiple softdevices (as you will not depend on a specific softdevice). There is a lot of code on advertising on the Timeslot API and more on the way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49550?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 10:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77c84fa4-0e9c-45bd-b799-119a7a6625ff</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;Any news if this will be supported by the SoftDevice? I would rather not implement the advertiser using the timeslot API. I guess this adds a lot of overhead to replace something that is already nearly implemented in the SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49549?ContentTypeID=1</link><pubDate>Sun, 12 Jun 2016 23:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4edf0b86-bb08-4215-82f3-e66b7a16aaf8</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;I agree this is useful. You can add this functionality using the timeslot API which can be used to support the additional advertiser with the interface that you need. The basics of running the advertiser is available in github, see  &lt;a href="https://github.com/NordicSemiconductor/nRF51-multi-role-conn-observer-advertiser/tree/Advertiser-With-and-Without-Timeslot"&gt;github.com/.../Advertiser-With-and-Without-Timeslot&lt;/a&gt; . You can also support iBeacon/Eddystone/Altbeacon using this method. The example also supports the establishment of connections with the timeslot API but only in the peripheral mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49548?ContentTypeID=1</link><pubDate>Sun, 05 Jun 2016 11:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f8b37d-6566-49f8-a494-740b708a932f</guid><dc:creator>Anne van Rossum</dc:creator><description>&lt;p&gt;I second this request. From the softdevice point of view this requires multiple buffers and a pointer that iterates over these. This seems like quite a trivial change and for the user it will not have any limitations on timings, etc.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sd_ble_gap_adv_data_set(uint8_t const *const  	p_data,
	uint8_t  	dlen,
	uint8_t const *const  	p_sr_data,
	uint8_t  	srdlen 
) 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Would become something like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sd_ble_gap_adv_data_set(uint8_t const *const  	p_data,
	uint8_t  	dlen,
	uint8_t const *const  	p_sr_data,
	uint8_t  	srdlen, 
	uint8_t  	buf_id 
) 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;From a marketing point of view it&amp;#39;s cool that you can tell that you inherently support multiplexing (the three formats of) Eddystone with iBeacon and AltBeacon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49547?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 16:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e96c7be-a07b-46cf-a58f-e7235a4da025</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Marius,&lt;/p&gt;
&lt;p&gt;changing advertising (+ scan response) data through Radio Notification Event is pretty simple and works well. You can (as long as you are fine with some obvious limitations on selected timings) &amp;quot;multiplex&amp;quot; two or more broadcasts just by using standard advertisement in GAP Peripheral of Nordic&amp;#39;s Soft Devices. And if you would like to pretend to be multiple of completely independent devices, you could probably very well also change Adv. Address (still you need to select right advertising interval so &amp;quot;virtual&amp;quot; devices appear with effectively double/triple/... interval to the observer). Need an example? I&amp;#39;ve already posted here on the forum source code which makes Nordic standard Beacon app from SDK changing broadcasts for each interval (adjusting it to your needs looks like trivial few minute job)&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49542?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 14:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5ce1ace-4c59-4e0b-82ca-50305f3fff33</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s not only advertising, but sometimes I want to establish connections and it would be quite a bit overhead to use the timeslot API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49545?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 13:49:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f642d0e-d6ad-4748-a3ff-7ebbb305d51b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I see, if you don&amp;#39;t care about connection establishment you can do advertising in a radio timeslot instead of using the softdevice&amp;#39;s API, but I guess in your case you need the connection be handled by the softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49544?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 13:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3665615-72c1-45f9-936e-0d6498560b27</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;Thank you. Yes, it would be okayish, but it would be much nicer to have better control, so that all messages are sent the same amount. And for my use-case with a mesh, I really need better control over the advertising messages and for me, this is one part where the API is really lacking functionality and I cannot find a way around.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49543?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 13:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db035792-205e-4418-b766-2bdfcb3d7788</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I understand, Marius. I guess for the beacon application, it would be OK to use a timer to switch between Eddystone and iBeacon as timing and sequencing are not very important.&lt;/p&gt;
&lt;p&gt;I will send your request internally to R&amp;amp;D for assessment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49541?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 12:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1637719-8ed2-4d9b-876c-6f195ea01171</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;But what happens if a beacon wants to advertise both EddyStone and iBeacon messages? I think that&amp;#39;s a very simple use-case and I do not see any clean solution to achieving this.&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t it be possible to include the type of radio activity in the radio notification callback? Just a simple unsigned short would be enough to distinguish between the different kinds of radio activity. Or is this very problematic from the SoftDevice Architecture?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49540?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 12:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbcc35be-86f5-4532-a558-0f38844983ce</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Marius,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think what you request is very common, I haven&amp;#39;t seen many applications require that (or simply ok with the scan response).&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of a clean solution for this. What you described of using a timer maybe the closest on what you can do to achieve.&lt;/p&gt;
&lt;p&gt;I am also thinking of counting the distance between Active and nActive radio notification signals to measure the size of the packet. And if you have a fixed length of 31 bytes payload for the advertising packet, there is a chance that you can  distinguish between a connection event packet (max 36 bytes) and a advertising packet (max 46 bytes). Of course there is a chance that the radio notification be skipped because of 2 radio events are too close. But if that&amp;#39;s the case I would hope that the timing can also point out that it&amp;#39;s a connection event + advertising event or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49539?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 07:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6478f5c7-dcf4-4136-b260-3e5688853dcd</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;Has to be advertising messages because of interoperability with other devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any chance to get support for multiple advertising messages?</title><link>https://devzone.nordicsemi.com/thread/49538?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2016 15:18:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6740fe57-b43b-4b0f-b92b-599da646f323</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;If two advertising messages are enough, why don&amp;#39;t you use scan response?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>