<?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>cannot open source input file &amp;quot;ble.h&amp;quot;: No such file or directory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6086/cannot-open-source-input-file-ble-h-no-such-file-or-directory</link><description>Hi, 
 i am using ble_app_template and i added the file &amp;quot;ble_lbs.h&amp;quot; in the main file. Also added this code in the services_init method 
 uint32_t err_code;
ble_lbs_init_t init;

init.led_write_handler = led_write_handler;

err_code = ble_lbs_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Apr 2015 13:06:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6086/cannot-open-source-input-file-ble-h-no-such-file-or-directory" /><item><title>RE: cannot open source input file "ble.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/21308?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2015 13:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e916a5b8-2dbd-447b-b69f-6312f0587bd4</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I believe it is easier to just copy past the code from the github example than to downgrade Keil in order to open the .uvproj file in the example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot open source input file "ble.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/21307?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 21:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87fd92ce-8c9c-4643-ab82-e3b8e9191e5e</guid><dc:creator>paragon</dc:creator><description>&lt;p&gt;@stian, thanks for the help. i downgraded UVision from version 5 to 4 to run this program and now i am getting an error that &amp;quot;Please update your device selection.&amp;quot; Device not Found:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot open source input file "ble.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/21306?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 19:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95166af-8196-49bc-b522-07eac5662d76</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Is this the nrf51_ble_app_lbs example? Did you find it on github? (&lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs)"&gt;github.com/.../nrf51-ble-app-lbs)&lt;/a&gt; You can have a look at the &lt;strong&gt;main.c&lt;/strong&gt; file there, and see how the service is included. You need to do more changes than just adding code to the services_init()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot open source input file "ble.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/21305?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 19:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a15a18e5-585a-482f-b69a-94223452b8d9</guid><dc:creator>paragon</dc:creator><description>&lt;p&gt;if i comment out this code and remove the #include &amp;quot;ble_lbs.h&amp;quot;, i can find the board from phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot open source input file "ble.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/21304?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 19:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a48fee54-0bdb-4b25-8504-75683574104b</guid><dc:creator>paragon</dc:creator><description>&lt;p&gt;i am not able to find the service,
this is how i am adding a service&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void services_init(void)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;{
// YOUR_JOB: Add code to initialize the services used by the application.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t err_code;
ble_lbs_init_t init;

init.led_write_handler = led_write_handler;

err_code = ble_lbs_init(&amp;amp;m_lbs, &amp;amp;init);
printf(&amp;quot;error code = %d \n&amp;quot;, err_code);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot open source input file "ble.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/21303?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 18:41:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fe27afa-e8c1-400e-98a2-2bfe9f1e345d</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Why are you doing a &amp;#39;batch build&amp;#39; ? You should not compile the target &amp;#39;flash softdevice&amp;#39;. You can flash the softdevice using nRFgo Studio, build you application for target &amp;#39;&amp;#39;nrf51422_xxac_s110&amp;#39; and then flash this hex-file to the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>