<?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>service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2609/service-data-with-128-bit-uuid</link><description>Hi, 
 I need to send some additional information in advertising. 
 According to Core Specification Supplement v4 A.1.11 it is possible to use also 128-bit UUID in service data. But I can&amp;#39;t find this possibility in the SDK API (I use SDK 5.1.0).
Is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Dec 2014 10:50:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2609/service-data-with-128-bit-uuid" /><item><title>RE: service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/thread/10320?ContentTypeID=1</link><pubDate>Tue, 16 Dec 2014 10:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:225afada-1dc6-47eb-bffb-ea4fce7b6be9</guid><dc:creator>Marcel Mulder</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This answer is about service UUID&amp;#39;s and not about service data uuid&amp;#39;s
I searched through the devzone but I cannot find a answer on Cyrils question.
Some background. I have a working solution from another vendor and I want to switch to Nordic. In this solution I use service data to advertise our product including some data about the product. I am now looking in the SDK to see how I can implement this with Nordic.&lt;/p&gt;
&lt;p&gt;Ok, so the ble_advdata_service_data_t structure needs a uint16_t for de uuid. I use 128 bits uuid&amp;#39;s. I can add them with sd_ble_uuid_vs_add. This returns a UUID type. Now the question is. How do I match the UUID type return from sd_ble_uuid_vs_add to the service_uuid field in ble_advdata_service_data_t structure.&lt;/p&gt;
&lt;p&gt;Cheers, Marcel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/thread/10322?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2014 13:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed6b0070-5c24-4650-acc5-c1a2ece84dc2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Maybe &lt;a href="https://devzone.nordicsemi.com/question/17555/custom-128-uuid-and-service-data-unknown-error/"&gt;this&lt;/a&gt; question is helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/thread/10319?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2014 09:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ca1b265-2ce6-49a7-a1a5-0041e563645d</guid><dc:creator>S&amp;#233;bastien Despont</dc:creator><description>&lt;p&gt;Any update about the fact to add additionnal UUID128 service data ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/thread/10317?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2014 14:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2911e2c3-0522-4454-b7bc-1e9334dae485</guid><dc:creator>S&amp;#233;bastien Despont</dc:creator><description>&lt;p&gt;Any update about your question? It would be very useful for me. Thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/thread/10321?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 13:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:608b82f0-a909-4937-8c8f-660ece4e40bb</guid><dc:creator>Cyril Hruscak</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;it seems I did not formulate my question precisely.&lt;/p&gt;
&lt;p&gt;I know how to add 128-bit service UUID.&lt;/p&gt;
&lt;p&gt;I mean additional service data as you can add through &amp;#39;ble_advdata_service_data_t&amp;#39;.
This structure allows only 16-bit UUIDs.&lt;/p&gt;
&lt;p&gt;I hope it&amp;#39;s clear what I mean now.&lt;/p&gt;
&lt;p&gt;Cyril.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service data with 128-bit uuid</title><link>https://devzone.nordicsemi.com/thread/10318?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 08:03:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4f9cee9-ca2e-427a-b363-f859b3ade230</guid><dc:creator>Balaji Srinivasan</dc:creator><description>&lt;p&gt;Hi Cyril,&lt;/p&gt;
&lt;p&gt;The SDK API &lt;em&gt;ble_advdata_set&lt;/em&gt; does provide the possibility to do this. In fact, the DFU example (found in &lt;em&gt;\Nordic\nrf51422\Board\nrf6310\device_firmware_updates\bootloader&lt;/em&gt; folder)  uses this feature. Please have a look at the function &lt;em&gt;advertising_init&lt;/em&gt; in &lt;em&gt;dfu_transport_ble.c&lt;/em&gt; together with &lt;em&gt;ble_dfu_init&lt;/em&gt; in &lt;em&gt;ble_dfu.c&lt;/em&gt; to see how this is done.&lt;/p&gt;
&lt;p&gt;In short, you will need to first add the 128 bit UUID to the S110 SoftDevice using &lt;em&gt;sd_ble_uuid_vs_add&lt;/em&gt;  (done in &lt;em&gt;ble_dfu_init&lt;/em&gt; function). When you do that, the stack will provide UUID Type as output parameter. This UUID type should be later used when you initialize the advertisement data (done in &lt;em&gt;advertising_init&lt;/em&gt; in &lt;em&gt;dfu_transport_ble.c&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;Hope this is clear.&lt;/p&gt;
&lt;p&gt;Cheers,
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>