<?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>pc-ble-driver-py is assigning one service / characteristics uuid_type=3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90919/pc-ble-driver-py-is-assigning-one-service-characteristics-uuid_type-3</link><description>I&amp;#39;m running into an odd problem... I&amp;#39;m using a nRF52832 development kit and pc-ble-driver-py to write tests against our custom services and characteristics, and I just hit a problem that I cannot figure out. 
 For some reason, 1 service and its characteristics</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Aug 2022 12:31:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90919/pc-ble-driver-py-is-assigning-one-service-characteristics-uuid_type-3" /><item><title>RE: pc-ble-driver-py is assigning one service / characteristics uuid_type=3</title><link>https://devzone.nordicsemi.com/thread/381577?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 12:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a6a98ca-85c6-489f-b2fd-c2497d8c0afa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___u_u_i_d___t_y_p_e_s.html#ga7bdcaea9ea91ab20be755d78833da46d"&gt;BLE_UUID_TYPE_VENDOR_BEGIN&lt;/a&gt; (0x2) marks the start index for the vendor UUID storage in the Softdevice, and it will get incremented every time you register a new one through the BLEUUIDBase() -&amp;gt;&amp;nbsp;&lt;span&gt;&lt;a title="sd_ble_uuid_vs_add" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html?cp=4_7_4_1_2_0_2_2_8#ga265b4251110a15120d0aa97e5152163b"&gt;sd_ble_uuid_vs_add&lt;/a&gt;&lt;/span&gt;() function. In other words, a &amp;#39;type&amp;#39; value above 0x2 is really a reference to a particular base uuid in the Softdevice&amp;#39;s UUID buffer. &lt;/p&gt;
&lt;p&gt;From the Softdevice API documentation:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Add a Vendor Specific base UUID.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;This call enables the application to add a Vendor Specific base UUID to the BLE stack&amp;#39;s table, for later use with all other modules and APIs. This then allows the application to use the shorter, 24-bit ble_uuid_t format when dealing with both 16-bit and 128-bit UUIDs without having to check for lengths and having split code paths. This is accomplished by extending the grouping mechanism that the Bluetooth SIG standard base UUID uses for all other 128-bit UUIDs. &lt;span style="background-color:rgba(0, 255, 0, 1);"&gt;The type field in the ble_uuid_t structure is an index (relative to BLE_UUID_TYPE_VENDOR_BEGIN) to the table populated by multiple calls to this function, and the UUID field in the same structure contains the 2 bytes at indexes 12 and 13.&lt;/span&gt; The number of possible 128-bit UUIDs available to the application is therefore the number of Vendor Specific UUIDs added with the help of this function times 65536, although restricted to modifying bytes 12 and 13 for each of the entries in the supplied array.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py is assigning one service / characteristics uuid_type=3</title><link>https://devzone.nordicsemi.com/thread/381383?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 13:40:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a054ec12-5c77-45de-a5af-3499efe152ca</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;our key support on this topic is out of office on vacation, they will be back next week, and will get back to you then!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Kaja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>