<?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>how to add a new BLE service in existing example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59138/how-to-add-a-new-ble-service-in-existing-example</link><description>I have added lbs_service from ble_app_blinky service within ble_app_glucose example. I made changes in main.c and EMPROJECT File accordingly. I have added ble_lbs.c file in nRF_ble_service folder but whenever I building the project the ble_lbs.c service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Mar 2020 10:49:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59138/how-to-add-a-new-ble-service-in-existing-example" /><item><title>RE: how to add a new BLE service in existing example?</title><link>https://devzone.nordicsemi.com/thread/239956?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 10:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccf7695b-8481-4497-a209-1ad532187bd6</guid><dc:creator>prayuktibid</dc:creator><description>&lt;p&gt;Thank you Mr. &lt;a href="https://devzone.nordicsemi.com/members/ts-gowtham"&gt;TS Gowtham&lt;/a&gt;&amp;nbsp; for find out my mistake.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add a new BLE service in existing example?</title><link>https://devzone.nordicsemi.com/thread/239939?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 10:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3a4afa9-9bf4-4aa3-a492-e74f77ddd7d4</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;Did you enable the service in sdk_config.h??&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;q&amp;gt; BLE_LBS_C_ENABLED  - ble_lbs_c - Nordic LED Button Service Client
 

#ifndef BLE_LBS_C_ENABLED
#define BLE_LBS_C_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Check if this is present in your sdk_config.h. If you are adding a new service, the respective macro should be set.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>