<?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>soft device threading - when and what are calls safe?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11821/soft-device-threading---when-and-what-are-calls-safe</link><description>I would like to learn more about when it is safe to invoke soft device methods and when it is not. For example, are the following &amp;#39;allowed&amp;#39; to make soft device calls to update a characteristic? If not, what is the suggested workaround? For example, can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Feb 2016 09:07:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11821/soft-device-threading---when-and-what-are-calls-safe" /><item><title>RE: soft device threading - when and what are calls safe?</title><link>https://devzone.nordicsemi.com/thread/44705?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 09:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709f3c5d-c87b-4d13-b805-ef96d1e42736</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;All application related interrupts (interrupts caused by peripherals not reserved by softdevice, like, RADIO, RNG, TIMER0 etc) will wake your main when you call sd_app_evt_wait in a loop.&lt;/p&gt;
&lt;p&gt;Read &lt;a href="https://devzone.nordicsemi.com/question/16515/sd_app_evt_wait/"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: soft device threading - when and what are calls safe?</title><link>https://devzone.nordicsemi.com/thread/44706?ContentTypeID=1</link><pubDate>Sun, 14 Feb 2016 04:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce6e98bf-b544-4ea3-ac21-daa44c39c0bb</guid><dc:creator>GlennEngel</dc:creator><description>&lt;p&gt;Is use of the scheduler required or can one just check a &amp;#39;pend&amp;#39; variable in the main loop?  It&amp;#39;s not clear to me what events trigger the main loop to wake up and run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: soft device threading - when and what are calls safe?</title><link>https://devzone.nordicsemi.com/thread/44704?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 08:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3680e58c-6b91-4d39-a81d-9adb883f0832</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;1 &amp;amp; 2) Yes, as long as the interrupt handler priority is less than SVC IRQ priority.&lt;/p&gt;
&lt;p&gt;3 &amp;amp; 4) Technically Yes, but some has seen problems in few cases, that is why using a scheduler and moving the context to main is recommended here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>