<?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 to send data when NOTIFICATION is acticve?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1965/how-to-send-data-when-notification-is-acticve</link><description>I need to send a data package when radio is ON every time 
 but I try to send data by &amp;quot;sd_ble_gatts_hvx()&amp;quot; I find it can not work,it seems that I can&amp;#39;t call this API to send data. 
 I what to know how to use SWI1_IRQHandler , if I what to prepare and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Mar 2014 11:14:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1965/how-to-send-data-when-notification-is-acticve" /><item><title>RE: How to send data when NOTIFICATION is acticve?</title><link>https://devzone.nordicsemi.com/thread/8458?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2014 11:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d99cb9ea-820d-47af-b747-7759570b8c3f</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I believe that the code snippet you show here will cause a HardFault. Remember that you can&amp;#39;t call softdevice API functions from APP_HIGH, so instead, you need to set a flag or put an event in the scheduler queue to actually send the data.&lt;/p&gt;
&lt;p&gt;You can read more about this &lt;a href="https://devzone.nordicsemi.com/index.php/how-to-redefine-ppi-tasks-inside-a-timer-interrupt"&gt;here&lt;/a&gt;, and in the Reference Manual section that refers to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>