<?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>Proper way to change NUS UUID in a Zephyr project - prj.conf?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87341/proper-way-to-change-nus-uuid-in-a-zephyr-project---prj-conf</link><description>In a previous ticket on another topic this question came up. Given it was a tangent to the original topic of that thread, and I think it would be helpful to others, I decided to open a different ticket to address it. 
 Some background; my development</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Apr 2022 15:26:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87341/proper-way-to-change-nus-uuid-in-a-zephyr-project---prj-conf" /><item><title>RE: Proper way to change NUS UUID in a Zephyr project - prj.conf?</title><link>https://devzone.nordicsemi.com/thread/365254?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 15:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4d08b31-0a87-4efb-84cb-4aaa691e72e6</guid><dc:creator>bbbakke</dc:creator><description>&lt;p&gt;Hello Hung,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the info. I&amp;#39;ll make a copy of the nus.h/.c files and start form there. I&amp;#39;m guessing I will also have to remove&amp;nbsp;CONFIG_BT_NUS=y from my prj.conf file as well. I&amp;#39;ll give it a try and see if I run into any problems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Brad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proper way to change NUS UUID in a Zephyr project - prj.conf?</title><link>https://devzone.nordicsemi.com/thread/365168?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 11:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e1997cf-acc2-48be-ab14-fee87bfafbad</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Brad,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are going to make your own service (including the change of UUID), I would suggest to create your own service source and header file .c and .h and remove any relation to the NUS sample service that we provided.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a look at the peripheral_ht example you can find that we use the hts.c and hts.h inside src folder. The files are included in the project by the Cmakelists.txt.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do the same with your own service .c and service .h files. Then you can remove any NUS related declaration in your project.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>