<?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>Question about modify header file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5412/question-about-modify-header-file</link><description>Hello I have some question about Keil uVision and Nordic Semiconductor SDK. 
 My development platform is Keil uVision v5 and my target board is nRF51-DK 
 I&amp;#39;ve studied many examples by using Pack Installer in Keil 
 Now I want to make my custom ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 May 2016 09:33:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5412/question-about-modify-header-file" /><item><title>RE: Question about modify header file</title><link>https://devzone.nordicsemi.com/thread/18893?ContentTypeID=1</link><pubDate>Fri, 13 May 2016 09:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f54aa08a-e922-47b2-9e3a-aa2ef46e9782</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Please open up a new question for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about modify header file</title><link>https://devzone.nordicsemi.com/thread/18892?ContentTypeID=1</link><pubDate>Fri, 13 May 2016 08:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3baeeecf-7c7b-45fe-a441-f2cd8ff5242e</guid><dc:creator>ajith r krishnan</dc:creator><description>&lt;p&gt;i would like to edit the stack of nRF51x to update the battery of proximity sensor...anybody help me??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about modify header file</title><link>https://devzone.nordicsemi.com/thread/18891?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2015 02:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:390ffe8c-a0b7-43ca-90e5-1ac8b7684343</guid><dc:creator>neil</dc:creator><description>&lt;p&gt;Thank you very much, I&amp;#39;ll try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about modify header file</title><link>https://devzone.nordicsemi.com/thread/18890?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2015 14:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84c8ed1d-3ac6-4f65-b827-994ac46044ec</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;The reason why they are locked is because they are part of the pack system, and if you change them they will be changed in all other projects that include those files.&lt;/p&gt;
&lt;p&gt;The point of using packs is to have a manager for the libraries and drivers used in the SDK, and you should not really change these files. If you still want to be able to edit the libraries and drivers I would recommend using the SDK without the package manager. You can find the zip-file here: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/"&gt;developer.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you want to make your own custom BLE service on the other hand, you can create a &lt;strong&gt;custom.h&lt;/strong&gt; file and &lt;strong&gt;custom.c&lt;/strong&gt; file. Make sure the include path for the &lt;strong&gt;.h&lt;/strong&gt; file is defined under the &lt;em&gt;C/C++&lt;/em&gt; fan in &lt;em&gt;Options&lt;/em&gt;. You also need to add the &lt;strong&gt;.c&lt;/strong&gt; file to the project. Right click on the &lt;em&gt;Application&lt;/em&gt; folder in the project tree and click &lt;em&gt;&amp;#39;Add New Item to .... &amp;#39;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We have this &amp;quot;LED/Button&amp;quot; example, &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs"&gt;github.com/.../nrf51-ble-app-lbs&lt;/a&gt;, that shows how to create custom services. The process is described in the application note nAN-36, which you can find &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822#Downloads"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>