<?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>Receiving data and advertisement in the same time slot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57180/receiving-data-and-advertisement-in-the-same-time-slot</link><description>Hello, 
 
 As I am new to the world of bluetooth and its stack I have a question which I cannot find the answer for on the internet. 
 I&amp;#39;ve read a ton of posts on the devzone as well but I haven&amp;#39;t gotten my answer. 
 Is it possible to receive a data package</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2020 12:12:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57180/receiving-data-and-advertisement-in-the-same-time-slot" /><item><title>RE: Receiving data and advertisement in the same time slot</title><link>https://devzone.nordicsemi.com/thread/231872?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 12:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a17e2a2e-52ad-45a3-b104-b716b89eb435</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;In softdevice, advertiser and peripheral connection are scheduled independently, so you will have collisions between them: sometimes a connection will win (advertisement is skipped), sometimes an advertisement (lost connection event). You can try to schedule &amp;quot;earliest possible&amp;quot; timeslot for advertisement with timeslot API, and send an advertisement directly by radio hardware.&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/pdf/S132_SDS_v7.1.pdf"&gt;https://infocenter.nordicsemi.com/pdf/S132_SDS_v7.1.pdf&lt;/a&gt;, chapter 15, about timeslot scheduling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving data and advertisement in the same time slot</title><link>https://devzone.nordicsemi.com/thread/231849?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 11:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c1defe-2600-4146-9c12-42794dde7db0</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;I mean in a single bluetooth time slot of approx. 7.5 ms.&lt;/p&gt;
&lt;p&gt;For instance, I am communicating with 4 devices, each one is getting 7.5 ms of time to transmit data to the master, this is repeated every 30 ms.&lt;/p&gt;
&lt;p&gt;The master sends out a advertisement package during this 30 ms time period.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this possible or do I need a separate time slot for this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving data and advertisement in the same time slot</title><link>https://devzone.nordicsemi.com/thread/231845?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 11:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c767d2-46f9-461f-9443-92b1094f3b18</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote userid="86994" url="~/f/nordic-q-a/57180/receiving-data-and-advertisement-in-the-same-time-slot"]Is it possible to receive a data package and a advertisement package in the same time slot or do they need a separate slot?[/quote]
&lt;p&gt;Do you mean softdevice timeslot API? You&amp;#39;re on your own inside a timeslot. Maybe I didn&amp;#39;t understand your question clearly, but advertisings and data packets are not synchronized in any way and transmitted at different channels, how do you expect to receive them in one timeslot?&lt;/p&gt;
[quote userid="86994" url="~/f/nordic-q-a/57180/receiving-data-and-advertisement-in-the-same-time-slot"]Can the master tell the slave to send one or two data packages in a single time slot, and if it is possible, how do I implement it.[/quote]
&lt;p&gt;Yes, the master sets MD (more data) flag to indicate that it will transfer more than one packet. It does that even without DLE - you can send 3-4 packets in a single connection event with default settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>