<?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>Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31120/timeslot-with-3-advertisements</link><description>Hi, 
 I tried to make a special application that includes 3 advertisements, (one with softdevice, and two others with timeslot), then i successed to 
 integrate all the three advertisements in the application, everything is fine untill now, but the advertisements</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Mar 2018 15:01:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31120/timeslot-with-3-advertisements" /><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/123470?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 15:01:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12e56a08-61d8-40df-9ff2-90514a8f118e</guid><dc:creator>TAR CHAL</dc:creator><description>&lt;p&gt;thank you very much for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/123424?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 12:11:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c592eab4-b101-4281-b84d-2b3a7954758d</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Remember that the scanner can only scan on one advertising channel at the time, and unless you have specifically told it otherwise,&amp;nbsp;the scanner is probably not scanning a 100% of the time either. Please have a look at the third image from the top in this blog: &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/bluetooth-smart-and-the-nordics-softdevices-part-1?CommentId=d98c879e-bb92-4e0b-89bf-db07cea48c92"&gt;Bluetooth Smart and the Nordic&amp;#39;s Softdevices - Part 1 GAP Advertising&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Furthermore, even if you are scanning a 100% of the time there is most likely going to be some radio noise in your surroundings. It could come from WiFi devices, other BLE devices, microwave ovens etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are in a &amp;quot;quiet&amp;quot; radio environment and scanning 100% of the time, I think a 36% packet loss sounds a bit high, but you can never expect to receive all packets.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/123363?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 08:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44631844-3572-4878-9c5f-e51b564dea61</guid><dc:creator>TAR CHAL</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks Martin, i&amp;#39;ll try your suggestion, just a last question, only with 2 advertisements (softdevice and ibeacon timelot) i have a big loss of received packets on timeslot, with &lt;strong&gt;1000ms&lt;/strong&gt; of adv_interval i must receive 1 packet per second (in theory) but after 100 seconds of advertisement (with timeslot) i only received 64 packets, it means that i have lost 36 packet, do you have any idea why i lose too much packets ?&lt;/p&gt;
&lt;p&gt;thank you,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/123276?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 14:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70a97ced-3371-4a3b-bf89-9c8b83c0f25e</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What you see is expected behaviour. The timeslot API can only have one &amp;quot;user&amp;quot; at the time.&lt;/p&gt;
&lt;p&gt;In this excerpt from your code you set the variable distance_us:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_radio_request_t * m_configure_next_event_ibeacon(void)
{
    m_ibeacon.timeslot_request.request_type              = NRF_RADIO_REQ_TYPE_NORMAL;
    m_ibeacon.timeslot_request.params.normal.hfclk       = NRF_RADIO_HFCLK_CFG_XTAL_GUARANTEED;
    m_ibeacon.timeslot_request.params.normal.priority    = NRF_RADIO_PRIORITY_HIGH;
    m_ibeacon.timeslot_request.params.normal.distance_us = m_ibeacon.adv_interval * 1000; //to ms
    m_ibeacon.timeslot_request.params.normal.length_us   = SLOT_LENGTH;
    return &amp;amp;m_ibeacon.timeslot_request;
} ,&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note however, what the documentation for the nrf_radio_request had to say about the distance_us variable:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t      distance_us;                        /**&amp;lt; Distance from the start of the previous radio timeslot (up to @ref NRF_RADIO_DISTANCE_MAX_US microseconds). */ &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In other words, you are setting the time distance for the next event relative to the previous one. If you need two &amp;quot;asynchronous&amp;quot; advertisers, one with adv interval 400ms and the other with 100ms, you will have to implement some sort of algorithm in your time slots that calculates the time distance until the next time slot that your advertisers require. Maybe you can configure the time slot to generate an event every 200ms (least common denominator of 1000 and 400) and then start one advertiser every other event, and the other advertiser every fifth event.&amp;nbsp; In your case it would be ideal if you could have two time slot&amp;nbsp;instances that could operate independent of each other, but unfortunately such a feature doesn&amp;#39;t exit in the time slot api.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/123028?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 11:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c50cf641-f315-454a-82dc-df3a307902ac</guid><dc:creator>TAR CHAL</dc:creator><description>&lt;p&gt;i have probably unterstood the problem with the adv_intervals:&lt;/p&gt;
&lt;p&gt;here is a figure of what i have inderstand :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/70481.Capture.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;then the interval beetween the same advertisement still the same (1500 ms) and it&amp;#39;s the sum of the two &lt;strong&gt;timeslot_distance_us.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;then the problem is i can&amp;#39;t manipulate two t&lt;strong&gt;imeslot_distance_us (two timeslots). &lt;/strong&gt;at the same time.&lt;/p&gt;
&lt;p&gt;have you any idea how to manipulate two timeslot at the same time ?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/122806?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 11:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:070f064e-da91-4241-a25c-a6e07223158c</guid><dc:creator>TAR CHAL</dc:creator><description>&lt;p&gt;hi, no it&amp;#39;s not the right one, here is mine,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30885/eddystone-and-ibeacon-with-timeslot-api"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30885/eddystone-and-ibeacon-with-timeslot-api&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;div class="tw-ta-container tw-nfl" id="tw-target-text-container"&gt;
&lt;pre class="tw-data-text tw-ta tw-text-medium" lang="en"&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeslot with 3 advertisements</title><link>https://devzone.nordicsemi.com/thread/122800?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 10:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e53bdf1a-cb52-470b-aaa6-f02136f6556a</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Is this your other case?&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/support-private/support/201538"&gt;https://devzone.nordicsemi.com/support-private/support/201538&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let us&amp;nbsp;stick with one thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>