<?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>[nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92760/nrf53-generic-uuid</link><description>Hello, 
 I tried to change the defined UUIDs for the BLE service and characteristics in the LED Button Service example (lbs.h). 
 E.g. 
 
 
 
 
 But the result is somehow random. Most of the time, the original value for this service is found by the BLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2022 08:13:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92760/nrf53-generic-uuid" /><item><title>RE: [nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/thread/391105?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 08:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cec2a519-eeb9-490d-877b-19d2cf49e383</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;many thanks for the advice, this seems to work.&lt;/p&gt;
&lt;p&gt;Interestingly, after&amp;nbsp;enabling the Device Information Service (CONFIG_BT_DIS), the characteristics &amp;quot;Manufacturer Name&amp;quot; and &amp;quot;Model Number&amp;quot; are also found by other Bluetooth Apps, not only by the nRF Connect App.&lt;/p&gt;
&lt;p&gt;Thanks again and kind regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/thread/390812?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 13:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e99d5cbe-307e-4875-a70c-65ccf1031e69</guid><dc:creator>Simon</dc:creator><description>[quote user="Rantanplan"]Therefore I&amp;#39;d like to understand how they are hidden.[/quote][quote user="Rantanplan"]Anyway, I&amp;#39;m still wondering why attributes like Generic Access and Generic Attributes are not shown in Apps other than nRF Connect.[/quote]
&lt;p&gt;I&amp;#39;m not sure about this. I can look into it and get back to you if you would like. Would you be able to ask the companies/peoples of these apps, why they hide these services?&lt;/p&gt;
[quote user="Rantanplan"]How to set the characteristic &amp;quot;Manufacturer Name&amp;quot; (0x2a29) and &amp;quot;Model Number&amp;quot; (0x2A24) inside the service &amp;quot;Device Information&amp;quot; (180A)[/quote]
&lt;p&gt;Check out the sample&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.1.99-ncs1/samples/bluetooth/peripheral_dis"&gt;zephyr/samples/bluetooth/peripheral_dis&lt;/a&gt;, it sets &lt;em&gt;Manufacturer name&lt;/em&gt; to &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/bluetooth/peripheral_dis/src/main.c#L55"&gt;&amp;quot;Zephyr Manufacturer&amp;quot;&lt;/a&gt;, &lt;em&gt;Model Number&lt;/em&gt; to &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/bluetooth/peripheral_dis/src/main.c#L52"&gt;&amp;quot;Zephyr Model&amp;quot;&lt;/a&gt;&amp;nbsp;and some of the characteristics are set through Kconfigs&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/bluetooth/peripheral_dis/prj.conf#L13-L15"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/bluetooth/peripheral_dis/prj.conf#L13-L15&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/bluetooth/peripheral_dis/src/main.c#L61-L77"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/bluetooth/peripheral_dis/src/main.c#L61-L77&lt;/a&gt;&lt;/p&gt;
[quote user="Rantanplan"] or the &amp;quot;Device Name&amp;quot; (0x2a00) in &amp;quot;Generic Access&amp;quot; (0x1800)?&amp;nbsp;[/quote]
&lt;p&gt;Try setting &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/subsys/bluetooth/host/Kconfig#L602"&gt;CONFIG_BT_DEVICE_NAME&lt;/a&gt;=&amp;quot;my name&amp;quot; in prj.conf, like done in the Bluetooth Peripheral UART sample:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/bluetooth/peripheral_uart/prj.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/bluetooth/peripheral_uart/prj.conf&lt;/a&gt;. You can also set it in runtime if you enable&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/subsys/bluetooth/host/Kconfig#L587"&gt;CONFIG_BT_DEVICE_NAME_DYNAMIC&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/thread/390749?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 07:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf048aef-bcd0-4998-9e2f-48bd589c4989</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;as far as I understand the Bluetooth standard, those characteristics are mandatory and should be readable without any burden.&lt;/p&gt;
&lt;p&gt;Therefore I&amp;#39;d like to understand how they are hidden.&lt;/p&gt;
&lt;p&gt;And one additional question:&lt;/p&gt;
&lt;p&gt;How to set the characteristic &amp;quot;Manufacturer Name&amp;quot; (0x2a29) and &amp;quot;Model Number&amp;quot; (0x2A24) inside the service &amp;quot;Device Information&amp;quot; (180A) or the &amp;quot;Device Name&amp;quot; (0x2a00) in &amp;quot;Generic Access&amp;quot; (0x1800)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks in advance.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/thread/390603?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 10:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3dce516-e4d3-4d3a-b2f3-36972be7c825</guid><dc:creator>Simon</dc:creator><description>[quote user="Rantanplan"]Anyway, I&amp;#39;m still wondering why attributes like Generic Access and Generic Attributes are not shown in Apps other than nRF Connect.[/quote]
&lt;p&gt;I would think the reason that these services are not present in any other apps, are because they are not very useful for users. These are added by the stack and can not be modified in any way. See&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/1484/custom-gap-service-with-user-descriptions-uuid-0x2901"&gt;Custom GAP Service with User Descriptions (UUID 0x2901)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/15118/how-to-remove-generic-access-and-generic-attribute-profiles"&gt;How to remove generic access and generic attribute profiles&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/thread/390481?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 14:20:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf702547-da8c-4792-b987-8cd5eafcc660</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I got a step further and realized that changes in /ncs/v2.1.0/nrf/include/bluetooth/services/lbs.h are working. But if I try to define a custom service in my local work directory, definint new UUIDs there has no effect because CONFIG_BT_LBS=y is required and loads the defaults from&amp;nbsp;&lt;span&gt;/ncs/v2.1.0/nrf/include/bluetooth/services/lbs.h. Without&amp;nbsp;CONFIG_BT_LBS=y, the definition of GATT characteristics does not work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I followed the description in&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/ncs-ble-tutorial-part-1-custom-service-in-peripheral-role"&gt;nRF Connect SDK Bluetooth Low Energy tutorial part 1: Custom Service in Peripheral role&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;which seems to work.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Anyway, I&amp;#39;m still wondering why attributes like Generic Access and Generic Attributes are not shown in Apps other than nRF Connect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF53] Generic UUID</title><link>https://devzone.nordicsemi.com/thread/390412?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 11:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2981088a-72a3-45fa-b538-bcf6ff74cd4d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll look into this today/tomorrow&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>