<?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 use radio notification in IoT softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14592/how-to-use-radio-notification-in-iot-softdevice</link><description>I need to calculate radio on time in IoT SDK but IoT softdevice don&amp;#39;t provide ble_radio_notification (in sdk components) and nvic functions (don&amp;#39;t have nrf_nvic.h in softdavice headers). Do you have any idea to solve this? And when we have new update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jun 2016 14:29:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14592/how-to-use-radio-notification-in-iot-softdevice" /><item><title>RE: How to use radio notification in IoT softdevice</title><link>https://devzone.nordicsemi.com/thread/55699?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2016 14:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab9c589d-7750-474f-be6d-4f3e58758ac4</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;It&amp;#39;s already running. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use radio notification in IoT softdevice</title><link>https://devzone.nordicsemi.com/thread/55698?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2016 06:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac626d16-d0cc-450c-9e6b-87ebac22dcc6</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you look into the radio notification c files the SoftDevice callas are pretty simple, to initialize it call the following.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = sd_nvic_ClearPendingIRQ(SWI1_IRQn);
APP_ERROR_CHECK(err_code);
err_code = sd_nvic_EnableIRQ(SWI1_IRQn);
APP_ERROR_CHECK(err_code);
err_code = sd_radio_notification_cfg_set(NRF_RADIO_NOTIFICATION_TYPE_YOURTYPEHERE, NRF_RADIO_NOTIFICATION_DISTANCE_YOURDISTANCEHERE);   //Set desired type and distance
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Make sure that you call this right after the SoftDevice is initialized.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>