<?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>GAP BLE event reentering(re entrant) function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39951/gap-ble-event-reentering-re-entrant-function</link><description>HI. 
 I use BLE in observer role. I register event handler only ones in initialization: NRF_SDH_BLE_OBSERVER(m_ble_observer, APP_BLE_OBSERVER_PRIO, ble_evt_handler, NULL); 
 Is the event handler ble_evt_handler reentrant (Reentering )function? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Oct 2018 10:30:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39951/gap-ble-event-reentering-re-entrant-function" /><item><title>RE: GAP BLE event reentering(re entrant) function</title><link>https://devzone.nordicsemi.com/thread/155067?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 10:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc1b209b-4a2b-4367-b035-160e66438532</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;ble_evt_handler&lt;/strong&gt; event handler is called in the SWI2_IRQHandler and it is always reentrant. &lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;ble_evt_handler &lt;/strong&gt;has not the highest interrupt priority level, more about interrupt priority levels &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.sds%2Fdita%2Fsoftdevices%2Fs130%2Fprocessor_avail_interrupt_latency%2Fexception_mgmt_sd.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is not using any global variables.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>