<?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>How do I run a long operation without disrupting a BLE link?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12768/how-do-i-run-a-long-operation-without-disrupting-a-ble-link</link><description>I am developing a BLE peripheral with SDK9 and SD110. The PPCP are 80-400ms, 5 slave latency and 5s supervision timeout. 
 I am currently running some blocking code in response to an alert level update (from IAS). The blocking code is manually driving</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Mar 2016 09:56:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12768/how-do-i-run-a-long-operation-without-disrupting-a-ble-link" /><item><title>RE: How do I run a long operation without disrupting a BLE link?</title><link>https://devzone.nordicsemi.com/thread/48499?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 09:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fdcfdb9-afd2-4380-8d5a-c505ae6e56d8</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;When using the softdevice, the softdevice has the highest interrupt priority. Therefore, driving a piezo element will not block the softdevice. The  &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.sds.v1.0%2Fdita%2Fsoftdevices%2Fs130%2Fsd_arch%2Fexception_mgmt_sd.html&amp;amp;cp=2_6_2_0_16_8"&gt;Exception (interrupt) management with a SoftDevice&lt;/a&gt; chapter in the S130 softdevice specification shows the interrupt priorities used by the softdevice, and which interrupt priorities the application should use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I run a long operation without disrupting a BLE link?</title><link>https://devzone.nordicsemi.com/thread/48500?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2016 02:21:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db999a70-604b-4371-90bd-212191addbfd</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;The softdevice will interrupt you any time it needs to, so the length of your operation isn&amp;#39;t likely to be a problem. Getting a nice buzz may be as you&amp;#39;ll get interrupted all the time and have weird glitches.&lt;/p&gt;
&lt;p&gt;So if you are &amp;#39;getting link loss&amp;#39; it&amp;#39;s more likely you&amp;#39;re doing something else which is causing an error or hardfault in some other piece of code. So I&amp;#39;d go looking there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>