<?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>With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48037/with-sdk-v14-2-0-are-soc-and-ble-events-delivered-in-an-interrupt-context-if-so-what-is-the-best-way-to-move-them-out-into-the-main-event-loop</link><description>With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jun 2019 15:26:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48037/with-sdk-v14-2-0-are-soc-and-ble-events-delivered-in-an-interrupt-context-if-so-what-is-the-best-way-to-move-them-out-into-the-main-event-loop" /><item><title>RE: With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?</title><link>https://devzone.nordicsemi.com/thread/190871?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 15:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a7187c9-5db1-4476-a7c8-c502af2951e7</guid><dc:creator>Don Garrett</dc:creator><description>&lt;p&gt;So, setting &lt;span&gt;NRF_SDH_DISPATCH_MODEL_APPSH causes the events to be rescheduled through the app events queue, whose size and management is up to us?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sounds good, thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?</title><link>https://devzone.nordicsemi.com/thread/190755?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 11:44:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aaa161d-7584-4d21-a1e7-cb9bebbdd087</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please look at our scheduler tutorial &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/scheduler-tutorial"&gt;here&lt;/a&gt;&amp;nbsp;and the scheduler library &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/lib_scheduler.html?cp=5_5_4_3_32"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?</title><link>https://devzone.nordicsemi.com/thread/190602?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 16:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49e457c2-6013-4e06-836a-cb3fce3ffe53</guid><dc:creator>Don Garrett</dc:creator><description>&lt;p&gt;I found &amp;quot;&lt;span&gt;NRF_SDH_DISPATCH_MODEL_APPSH&amp;quot; which seems to change things, but the documentation is pretty sparse.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Presumably, BLE events will be handled during calls to &amp;quot;app_sched_execute.&amp;quot; Is this correct? Also presumably, they are queued up until the next call to&amp;nbsp;app_sched_execute, but how deep is that queue? What happens if the even queue overflows?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>