<?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>softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48518/softdevice-handler-h-is-missing</link><description>I want to use it should be implemented in sofdevice_handler.h but this file does not exist in any of my directories. I am using sdk 14.2.0 
 However, i have nrf_sdh.h which has equivalent functions to those in the missing file. 
 How can I substitute</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jun 2019 09:32:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48518/softdevice-handler-h-is-missing" /><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192612?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 09:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:065fd33c-fc3d-4da3-bd34-ea0fc17aa115</guid><dc:creator>abyr</dc:creator><description>&lt;p&gt;You might be right if my problem was to be settled by changing version but that goes to the newest version that is why I did not consider the migration till now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192609?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 09:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:001ba5ab-2d60-4848-a845-2c2d3a1e9d64</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;There&amp;#39;s the catch: will you lose more time by faffing about because it&amp;#39;s an old version than by making the effort to update?&lt;/p&gt;
&lt;p&gt;Who knows!&lt;/p&gt;
&lt;p&gt;But, again:&amp;nbsp;&lt;span&gt;Look at other example(s) &lt;em&gt;&lt;strong&gt;from that SDK version&lt;/strong&gt;&lt;/em&gt; which have the functionality you require&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192605?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 09:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63523ea9-e8b7-4082-8155-24e84441a1fc</guid><dc:creator>abyr</dc:creator><description>&lt;p&gt;at first I didn&amp;#39;t pay attention that it is a very old version and now&amp;nbsp; I&amp;#39;m afraid I would lose time&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192604?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 09:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a6e6eb8-179e-4bf0-931f-c4a0b2205c22</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Maybe switch to the current version, then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192602?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 09:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32902d5c-6d2d-4e59-a3eb-e213537afaf5</guid><dc:creator>abyr</dc:creator><description>&lt;p&gt;No I just started with that and carried on&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192591?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 08:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9634469e-dfbc-4a19-b680-a8f638452ace</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Look at other example(s) which have the functionality you require.&lt;/p&gt;
&lt;p&gt;The documentation is still all online:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/examples_ble.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/examples_ble.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Do you have a particular reason for sticking with the old SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192578?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 08:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0973b53d-6784-4765-a120-73850725fe92</guid><dc:creator>abyr</dc:creator><description>&lt;p&gt;My start point is beacon application and&amp;nbsp;this is not used.&lt;/p&gt;
&lt;p&gt;I do not know where to look&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192576?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 08:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:902531f6-74e0-458f-805b-3fb8196a669d</guid><dc:creator>awneil</dc:creator><description>[quote userid="80133" url="~/f/nordic-q-a/48518/softdevice-handler-h-is-missing/192566"]how to change this to fit in sdk 14.2.0[/quote]
&lt;p&gt;The best way is to start with the examples &lt;em&gt;in the SDK you are using&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192566?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 07:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3271fb5f-ed45-4ba0-baeb-32ec8f6ee3b1</guid><dc:creator>abyr</dc:creator><description>&lt;p&gt;can you show an example of how to change this to fit in sdk 14.2.0&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void sys_evt_dispatch(uint32_t sys_evt)  
{nrf_evt_signal_handler(sys_evt);}
int main(void)
{
    softdevice_sys_evt_handler_set(sys_evt_dispatch);
    ...
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have did this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_SDH_SOC_OBSERVER(Timeslot_SOC_observer,1,nrf_evt_signal_handler,NULL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and I have this warning :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt; initialization of &amp;#39;void (*)(uint32_t, void *)&amp;#39; {aka &amp;#39;void (*)(unsigned int, void *)&amp;#39;} from incompatible pointer type &amp;#39;void (*)(uint32_t)&amp;#39; {aka &amp;#39;void (*)(unsigned int)&amp;#39;} [-Wincompatible-pointer-types]&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;2&amp;gt; ../../../../../../components/softdevice/common/nrf_sdh_soc.h:80:18: note: in definition of macro &amp;#39;NRF_SDH_SOC_OBSERVER&amp;#39;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;2&amp;gt; C:\svn\Abyr_Barhoumi\trunk\source code\nordic_project_folder\examples\ble_peripheral\ble_app_beacon\main.c:70:46: note: (near initialization for &amp;#39;Timeslot_SOC_observer.handler&amp;#39;)&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;2&amp;gt; ../../../../../../components/softdevice/common/nrf_sdh_soc.h:80:18: note: in definition of macro &amp;#39;NRF_SDH_SOC_OBSERVER&amp;#39;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192492?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 18:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cd29d19-dd0d-4fd0-a439-be0baa71eb92</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Similar question the other week:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48025/not-finding-softdevice_handler-h-in-nrf52_sdk_15-0-3"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48025/not-finding-softdevice_handler-h-in-nrf52_sdk_15-0-3&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice handler.h is missing</title><link>https://devzone.nordicsemi.com/thread/192454?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 15:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e16f3c2-abda-45e2-b68c-80595a79e159</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;sys_evt_dispatch is removed and deprecated starting from SDK 14, it&amp;#39;s replaced with observers. See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/migration.html?cp=5_5_4_1_7_0_0#migration_ble_sdhandler"&gt;this link.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>