<?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>What if sd_evt_get() returned id 0xCAFEBABE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18327/what-if-sd_evt_get-returned-id-0xcafebabe</link><description>Hi, I&amp;#39;m trying to implement SOFTDEVICE_EVT_IRQHandler as in HRS example, 
 this is the handler source part: 
 for (;;)
 {
 uint32_t err_code;

 if (!no_more_soc_evts)
 {
 uint32_t evt_id;

 // Pull event from SOC.
 err_code = sd_evt_get(&amp;amp;evt_id</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Dec 2016 12:32:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18327/what-if-sd_evt_get-returned-id-0xcafebabe" /><item><title>RE: What if sd_evt_get() returned id 0xCAFEBABE?</title><link>https://devzone.nordicsemi.com/thread/70758?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 12:32:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09d6b354-ec4a-48fc-a32c-6e9b9f769ca4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you share your complete project so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What if sd_evt_get() returned id 0xCAFEBABE?</title><link>https://devzone.nordicsemi.com/thread/70757?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2016 20:49:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c76bbb9f-d3f7-4677-ae65-09f81b1d3e5f</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Just add &lt;code&gt;err_code = softdevice_sys_evt_handler_set(sys_evt_dispatch);&lt;/code&gt; in the ble_stack_init() function, and you will get all the system events from the softdevice in your sys_evt_dispatch-function. Take a look at how this is done in e.g. the ble_app_proximity example. You can read more about the softdevice_sys_evt_handler_set function &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/group__softdevice__handler.html?cp=4_0_2_6_8_36_17#ga200d4e1f1c70a46e6de6343f0a7d84b1"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What if sd_evt_get() returned id 0xCAFEBABE?</title><link>https://devzone.nordicsemi.com/thread/70756?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2016 08:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a48aa8d3-f425-4493-8f97-ad9b387ab76f</guid><dc:creator>Valer_I</dc:creator><description>&lt;p&gt;Yes, I use code from softdevice handler, but it did not work.I did not receive events after flaash write. So I do investigation . Also i&amp;#39;ve seen a lot posts on this issue. So may be some tuttorial needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What if sd_evt_get() returned id 0xCAFEBABE?</title><link>https://devzone.nordicsemi.com/thread/70755?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 23:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:902023a5-daeb-4944-809b-25146858a4c6</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;What is the goal with implementing this? Isn&amp;#39;t it already implemented in the softdevice_handler.c?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>