<?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>BDS Plug IN - Optional Characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14543/bds-plug-in---optional-characteristics</link><description>Is there any way of instructing the BDS plug-in which optional characteristics to include in code generation for adopted services without converting to a custom service? 
 For example if I have the adopted DIS service in my project but don&amp;#39;t want to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jun 2016 07:13:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14543/bds-plug-in---optional-characteristics" /><item><title>RE: BDS Plug IN - Optional Characteristics</title><link>https://devzone.nordicsemi.com/thread/55548?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 07:13:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47d04c31-d250-4c9e-a7e4-1438c55f1a2b</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;:) I was about to say that you should hack the manually generated code, before I read the last line.&lt;/p&gt;
&lt;p&gt;The easiest way seems to be that we remove the characteristic:
Steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Drag and drop the Device Information Service that you want to the Right panel &amp;quot;Import a Service or Profile&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click on the Characteristic that you do not want, for example PnP ID&lt;/li&gt;
&lt;li&gt;Scroll to the end of the Characteristic Panel for PnP ID , all the way to the end and you will see three buttons, &amp;quot;Remove&amp;quot;, &amp;quot;Save&amp;quot;  and &amp;quot;Cancel&amp;quot;.&lt;/li&gt;
&lt;li&gt;Click &amp;quot;Remove&amp;quot;, this will remove PnP ID from the Service and will also prompt you to make the Service into custom local Service. Say &amp;quot;Yes&amp;quot;.&lt;/li&gt;
&lt;li&gt;Now you should have a Service that has the right UUIDs for the Characteristics.&lt;/li&gt;
&lt;li&gt;Unfortunately the Service UUID is switched to a custom UUID by BDS so this does need manual intervention in the code to change the UUID the actual BTLE Service UUID.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Setting the &amp;quot;ble_uuid.type = 0; &amp;quot; would switch the UUID to a 16 bit BTLE UUID.&lt;/p&gt;
&lt;p&gt;So yes, you do need manual intervention, but that is an issue with the BDS itself as it switches the Service UUID to the one specified in your project.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>