<?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>send notification via gpiote interrupte</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7096/send-notification-via-gpiote-interrupte</link><description>Hi,
I am using a gpiote interrupte handle function to send a notification to the master,but I find when the sd_ble_gatts_hvx() function is used,the interrupte handle function breaks down and the system has no reaction.Therefore there is no any error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2015 12:18:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7096/send-notification-via-gpiote-interrupte" /><item><title>RE: send notification via gpiote interrupte</title><link>https://devzone.nordicsemi.com/thread/25074?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 12:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acea0685-368b-44c2-a8b5-f5cd3c934b2f</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This is probably because of priority violation. You can not call a sd_* function from a context with higher ARM priority than 2. The app_gpiote has a default ARM priority 1. Explanation on how the priorities work is given in &lt;a href="https://devzone.nordicsemi.com/question/32040/using-i2c-nus-and-two-timer-interrupts-reading-sensor-from-both-timer-interrupts/?answer=32422#post-id-32422"&gt;this thread&lt;/a&gt;. To avoid this problem, you should use the scheduler to call sd_* functions form the main context, see &lt;a href="https://devzone.nordicsemi.com/question/33283/scheduler-benefits/"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>