<?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>Closing the TimeSlot API in Observer Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9130/closing-the-timeslot-api-in-observer-example</link><description>I&amp;#39;m using the Github project github.com/NordicSemiconducto.. . in order to SCAN in a specific channel rather than all 3 channels. I don&amp;#39;t want to use the timeslot API continuously, and I want to be able to activate and deactivate it. 
 For deactivating</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2015 06:52:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9130/closing-the-timeslot-api-in-observer-example" /><item><title>RE: Closing the TimeSlot API in Observer Example</title><link>https://devzone.nordicsemi.com/thread/33656?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 06:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72dd977b-6d8a-43e0-91fa-6fab6f71fa9e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;after closing the time slot session you can put a breakpoint in the timeslot callback handler and see if anything hits. if not then we can say with confidence that no timeslots are being scheduled.&lt;/p&gt;
&lt;p&gt;Otherwise if your scanner is active then see if it sends any scan requests by sniffing the packets.&lt;/p&gt;
&lt;p&gt;Regarding your other problem of the program jumping to start or main, seems like there is some error_check failure in your app and the default behavior of the assert handler is to do a system soft reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Closing the TimeSlot API in Observer Example</title><link>https://devzone.nordicsemi.com/thread/33655?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 04:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75fcfb44-a52d-4f10-a244-02019ee9e3bf</guid><dc:creator>FA</dc:creator><description>&lt;p&gt;I know the issue of advertising might need another post, but I&amp;#39;m trying to figure out if this problem has anything to do with how I closed the radio session. My assumption was that as soon as I close the session, whatever program that I was running before can be run afterwards without any change. Off course, based on &lt;a href="https://devzone.nordicsemi.com/question/49420/scan-in-a-single-channel/"&gt;Hung Bui suggestion&lt;/a&gt; I changed the SD_EVT_IRQHnadler in the observer example to a combination of SYS_EVT_DISPATCH and a call to timeslot_sys_evt_handler. The observer example provides a nrf_adv_conn_init() function for advertising and by using that I was able to advertise. This function doesn&amp;#39;t use SOFTDEVICE_HANDLER_INIT &amp;amp; softdevice_ble_evt_handler_set(ble_evt_dispatch). Both of these were used in Petter&amp;#39;s example &amp;amp; Beacon application. So I&amp;#39;m not sure if these cause the problem or closing the session&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Closing the TimeSlot API in Observer Example</title><link>https://devzone.nordicsemi.com/thread/33654?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 03:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece5da9f-9616-4f10-85e1-8685c17d3ac7</guid><dc:creator>FA</dc:creator><description>&lt;p&gt;Thanks, I did this. But, after closing the session, is there any way to see if it&amp;#39;s still scanning or not? The whole purpose of using the timeslot for me was to scan in a single channel (hope that like the advertising part, a channel mask will be added for scanning in the future). I want to start advertising after this scan. However, a strange problem happened. I tried to advertise similar to the &lt;a href="https://devzone.nordicsemi.com/question/48110/nrf-beacon-with-scanning-feature/"&gt;example provided by Petter&lt;/a&gt; for me. After using SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL) in ble_stack_init function, the program jumps to the start of MAIN! This was tested on PCA20006 and S110 SDK 9. That example was working with normal scan and then adv in all 3 channels (no timeslot). But right now after closing the timeslot session and using the same functions for ADV it fails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Closing the TimeSlot API in Observer Example</title><link>https://devzone.nordicsemi.com/thread/33653?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 08:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daad616a-b769-4072-92f7-47404a9d1539</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;do not disable SD_EVT_IRQn if there is parallel BLE activity from softdevice other than time_slot traffic.&lt;/p&gt;
&lt;p&gt;Yes, closing the session will disable time-slot session and you can also disable SWI0_IRQQn if not using it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>