<?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>Why are timeslots only called after ble advertising events?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8691/why-are-timeslots-only-called-after-ble-advertising-events</link><description>I have an application that advertises as connectable in BLE. 
 After connection and configuration, it should then disable connectable advertising and enable nonconnectable advertising using the timeslot api. 
 My advertising intervals are 150ms for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Aug 2015 07:43:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8691/why-are-timeslots-only-called-after-ble-advertising-events" /><item><title>RE: Why are timeslots only called after ble advertising events?</title><link>https://devzone.nordicsemi.com/thread/31866?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2015 07:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c4fd77-9232-4aad-84c6-929825d19756</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m glad that you have fixed the issue. Could you let me know which example you were testing with ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why are timeslots only called after ble advertising events?</title><link>https://devzone.nordicsemi.com/thread/31865?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 14:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f0fb4fc-2851-4d5c-9099-7cb57a4667c2</guid><dc:creator>syntroniks</dc:creator><description>&lt;p&gt;@Hung Thank you for your suggestions&lt;/p&gt;
&lt;p&gt;As I laid my head to rest last night, I was practicing my alternative to sheep-counting: thinking about nrf51822 firmware.&lt;/p&gt;
&lt;p&gt;I had hastily implemented a method of limiting the advertising channels by moving ADV_DONE to be after ADV_RX_CH37. This must have had some side effect on the radio configuration state. By restoring the default order, my problem was solved.&lt;/p&gt;
&lt;p&gt;Now I have to reach back to my CC1110 days of radio configuration to do things the proper way. My issue has been fully resolved.&lt;/p&gt;
&lt;p&gt;P.S.
If you could lend me a hint about the effect of NRF_TIMER0-&amp;gt;CC[0] = 400; It could save myself and hopefully someone else some time. I wonder why it is not included in the ADV_RX_CH37 case in m_handle_radio_disabled...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why are timeslots only called after ble advertising events?</title><link>https://devzone.nordicsemi.com/thread/31864?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 09:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eed564df-85f1-4225-8805-5914fb50a22d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,
When you mentioned &amp;quot;does not respect my 300ms&amp;quot; what was the actual distance/interval you got ? Do you have the timeslot blocked or cancelled ?
You can try to toggle a GPIO pin when the time slot started and use logic analyzer to check what is the actual interval. You can also use radio notification to detect when the stack&amp;#39;s advertising happens.&lt;/p&gt;
&lt;p&gt;I assume you have 2 issue, one with the timeslot distance, and second with the sd_ble_gap_adv_stop() ? It&amp;#39;s pretty strange that the timeslot advertisement also stopped. Have you checked it was because the timeslot was never given or because it couldn&amp;#39;t send the radio packet when in the timeslot ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>