<?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>I added the code according to the Timeslot tutorial.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37539/i-added-the-code-according-to-the-timeslot-tutorial</link><description>Hi， 
 I use SDK is ：nRF5_SDK_15.0.0_a53641a 
 But the SDK version in the link seems to be lower 
 devzone.nordicsemi.com/.../setting-up-the-timeslot-api 
 I am going to step 8（Change the dispatcher from(NOTE: your starting point might look different)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Aug 2018 09:24:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37539/i-added-the-code-according-to-the-timeslot-tutorial" /><item><title>RE: I added the code according to the Timeslot tutorial.</title><link>https://devzone.nordicsemi.com/thread/144665?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 09:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bf7791e-08b9-41bc-8341-08bf3ab2b8bb</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Thank you, I am trying to modify it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I added the code according to the Timeslot tutorial.</title><link>https://devzone.nordicsemi.com/thread/144537?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 12:48:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5830dc6-62fc-408c-a7e2-1747094f5093</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;it&amp;#39;s defined in file nrf_sdh_soc.h, so you&amp;#39;ll have to include this header into the same .c file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I added the code according to the Timeslot tutorial.</title><link>https://devzone.nordicsemi.com/thread/144506?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 11:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d203156-d642-45a2-8bf9-7178966d0397</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Thank you for answer，i added function&amp;nbsp;&lt;span&gt;&amp;quot;NRF_SDH_SOC_OBSERVER&amp;quot; shows error , &amp;nbsp;Is it necessary to #include&amp;quot;xxx.h&amp;quot; or other ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I added the code according to the Timeslot tutorial.</title><link>https://devzone.nordicsemi.com/thread/144494?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 10:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ec22af5-b8e0-4f44-b273-c1c017766342</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In SDK v14 and newer, you can register a system event handler using the macro &amp;quot;NRF_SDH_SOC_OBSERVER&amp;quot;, like this in the module where the call is required (for instance in main.c):&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;NRF_SDH_SOC_OBSERVER(m_my_sys_soc_obs, MY_HANDLER_SOC_OBSERVER_PRIO, my_sys_evt_handler, NULL);&lt;/div&gt;
&lt;div&gt;where MY_HANDLER_SOC_OBSERVER_PRIO can be 0 or 1.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Then you implement the function:&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void my_sys_evt_handler(uint32_t sys_evt, void * p_context)
{
    nrf_evt_signal_handler(sys_evt);
}&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Could you try this and see if it works better?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Håkon&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>