<?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>Unable to assign unique 128bit UUID to a characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18812/unable-to-assign-unique-128bit-uuid-to-a-characteristic</link><description>I have started creating a GATT using the libraries and Softdevice API provided.
All of our UUIDs are proprietary 128 bit UUIDs for both services and characteristics.
Here is an example that we would like to implement in order to be backward compatible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jan 2017 09:21:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18812/unable-to-assign-unique-128bit-uuid-to-a-characteristic" /><item><title>RE: Unable to assign unique 128bit UUID to a characteristic</title><link>https://devzone.nordicsemi.com/thread/72647?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2017 09:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7842f7c-d994-48c8-9c1d-ff6b1458eabe</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Thank you for sharing :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to assign unique 128bit UUID to a characteristic</title><link>https://devzone.nordicsemi.com/thread/72646?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 20:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29ebd5a4-43fe-45d3-88fc-e37066d18aa2</guid><dc:creator>Esterina</dc:creator><description>&lt;p&gt;This has already been answered in a previous post.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_uuid_t ble_uuid;
sd_ble_uuid_vs_add(addr, &amp;amp;my_saved_uuid_type);
ble_uuid.type = my_saved_uuid_type;
ble_uuid.uuid = 0x0d1f;
sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY, &amp;amp;ble_uuid, service_handle);
ble_uuid.type = my_saved_uuid_type;
ble_uuid.uuid = 0x0d20;
attr_char_value.p_uuid    = &amp;amp;ble_uuid;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>