<?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>Setting up Device Information Service with Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98188/setting-up-device-information-service-with-zephyr</link><description>I can&amp;#39;t figure out how to set the DIS parameters in a Zephyr build. I&amp;#39;ve got 
 
 CONFIG_BT_DIS=y 
 
 In my prj.conf. And that exposes three characteristics: 
 
 But where in the setup files do I find the three strings so I can set their values? Tool chain</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Mar 2023 12:26:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98188/setting-up-device-information-service-with-zephyr" /><item><title>RE: Setting up Device Information Service with Zephyr</title><link>https://devzone.nordicsemi.com/thread/418303?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 12:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c6b281b-04a6-444d-8bea-adfe5db2149f</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Excellent. I will do that now. FYI you could also close any of your tickets by verifying the answers that you think helped you.&lt;/p&gt;
&lt;p&gt;Have a great day,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Device Information Service with Zephyr</title><link>https://devzone.nordicsemi.com/thread/418192?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 03:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:787a8df9-0e00-4e4a-ac61-d3a5f6735eba</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;That worked. Please close this ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bret&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Device Information Service with Zephyr</title><link>https://devzone.nordicsemi.com/thread/418014?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2023 07:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:812a9a51-bf7f-428f-929d-4121d74308df</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Perhaps you misunderstood how Kconfigs are used. The file I referred to in my previous reply is the Kconfig definition. To configure them for your project,&amp;nbsp;the simplest way is to update your prj.conf.&lt;/p&gt;
&lt;p&gt;For example, if you&amp;nbsp;want to set the SW Revision, the relevant definitions in Kconfig.dis are:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.2.99-ncs2/subsys/bluetooth/services/Kconfig.dis#L134-L143"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.2.99-ncs2/subsys/bluetooth/services/Kconfig.dis#L134-L143&lt;/a&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;config BT_DIS_SW_REV
	bool &amp;quot;DIS Software Revision characteristic&amp;quot;
	help
	  Enable Software Revision characteristic in Device Information Service.

config BT_DIS_SW_REV_STR
	string &amp;quot;Software revision&amp;quot;
	depends on BT_DIS_SW_REV
	help
	  Enable software revision characteristic in Device Information Service.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;From that,&amp;nbsp;we would&amp;nbsp;infer that we need to update our project prj.conf file as followed:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_DIS_SW_REV=y
CONFIG_BT_DIS_SW_REV_STR=&amp;quot;2023.03.29.01&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I hope that example helps you understand my idea better.&lt;/p&gt;
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/kconfig/index.html"&gt;Configuration System (Kconfig) — Zephyr Project documentation (nRF Connect SDK) (nordicsemi.com)&lt;/a&gt;&amp;nbsp;and its subpages.&lt;/p&gt;
&lt;p&gt;Further see also:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/index.html"&gt;Build and Configuration Systems — Zephyr Project documentation (nRF Connect SDK) (nordicsemi.com)&lt;/a&gt;&amp;nbsp;and its subpages (which include the first link).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Device Information Service with Zephyr</title><link>https://devzone.nordicsemi.com/thread/417984?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 22:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709af4b9-ff1d-4fe2-b182-7ef3b70a6463</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;I found the file in my SDK. But I naturally don&amp;#39;t want to modify the files in the SDK.&amp;nbsp;Where can a modified version of that file be placed in my project folder so that it will override the one in the SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Device Information Service with Zephyr</title><link>https://devzone.nordicsemi.com/thread/417850?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 10:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbd41eb-b112-48f9-ad0c-dce87c86f958</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bret,&lt;/p&gt;
&lt;p&gt;You can find the Kconfig for DIS defined in the zephyr part of the SDK.&lt;br /&gt;&lt;span&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.2.99-ncs2/subsys/bluetooth/services/Kconfig.dis"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.2.99-ncs2/subsys/bluetooth/services/Kconfig.dis&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On your SDK installation, it would be&amp;nbsp;in &amp;lt;SDK root&amp;gt;/zephyr/subsys/bluetooth/services.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>