<?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>How to add a 128-bits custom uuid in BLE advertising data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116125/how-to-add-a-128-bits-custom-uuid-in-ble-advertising-data</link><description>In my project, my master controller need to scan devices through custom uuid. 
 One problem is that in ble_advertising_init, I can only add 16bits uuid and type of which is BLE_UUID_TYPE_BLE( Bluetooth SIG UUID ) 
 How can I add a BLE_UUID_TYPE_VENDOR_BEGIN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2024 11:46:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116125/how-to-add-a-128-bits-custom-uuid-in-ble-advertising-data" /><item><title>RE: How to add a 128-bits custom uuid in BLE advertising data?</title><link>https://devzone.nordicsemi.com/thread/509432?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 11:46:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08fb3440-fdf2-411b-a2ad-47b993934e64</guid><dc:creator>Noxstella</dc:creator><description>&lt;p&gt;Sorry the exact function is&amp;nbsp; sd_ble_uuid_vs_add and&amp;nbsp;&lt;span&gt;sd_ble_gatts_service_add is used for adding ble service&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a 128-bits custom uuid in BLE advertising data?</title><link>https://devzone.nordicsemi.com/thread/509431?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 11:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2f659b4-336a-4b89-b524-a672930feb63</guid><dc:creator>Noxstella</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;sd_ble_gatts_service_add ? But how can I show my custom complete uuids in advertising data?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a 128-bits custom uuid in BLE advertising data?</title><link>https://devzone.nordicsemi.com/thread/509358?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 07:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fa41980-c3d8-4227-8a49-eee91dc84c56</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Yes there is an SD function call to add custom UUID values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a 128-bits custom uuid in BLE advertising data?</title><link>https://devzone.nordicsemi.com/thread/509349?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 05:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db682f9a-51c7-46ca-b533-2133c41afc67</guid><dc:creator>Noxstella</dc:creator><description>&lt;p&gt;Thanks Simon&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Neither of the macros can be found in&amp;nbsp;nRF5 SDK&amp;nbsp; and we are not going to move to&amp;nbsp;nRF Connect SDK for some reasons.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are there some other ways to add a 128-bits custom uuid other than uuids defined by SIG&amp;nbsp;on the nRF5 SDK?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a 128-bits custom uuid in BLE advertising data?</title><link>https://devzone.nordicsemi.com/thread/509280?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 14:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e4ebd8f-39f1-4d52-8a74-cbe5e202813c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;o add a 128-bit custom UUID in BLE advertising data, you can use the&amp;nbsp;&lt;code dir="ltr"&gt;BT_DATA_BYTES&lt;/code&gt;&amp;nbsp;macro with the&amp;nbsp;&lt;code dir="ltr"&gt;BT_DATA_UUID128_ALL&lt;/code&gt;&amp;nbsp;type. There are multiple samples in the nRF Connect SDK showing how you can do this. The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/throughput/README.html"&gt;Bluetooth: Throughput sample&lt;/a&gt; would be a good starting point. I see you&amp;#39;re currently on the nRF5 SDK, but would strongly suggest you move to the nRF Connect SDK instead. See the statement on the SDK statuses available here for more info:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&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></channel></rss>