<?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>Can I use both UUIDs 16 bit and 128 bit in one project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37300/can-i-use-both-uuids-16-bit-and-128-bit-in-one-project</link><description>I have 2 services are running using 16 bit UUIDs and now I am adding another service using our_service.c and our_service.h files but my program is crashing and leading to restarting continuously. 
 Is there proper guid to write our own custom service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Aug 2018 22:35:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37300/can-i-use-both-uuids-16-bit-and-128-bit-in-one-project" /><item><title>RE: Can I use both UUIDs 16 bit and 128 bit in one project</title><link>https://devzone.nordicsemi.com/thread/143451?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 22:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:874a23ab-cf81-4269-be62-744d6133204c</guid><dc:creator>Richard D.</dc:creator><description>&lt;p&gt;Yes, you can certainly use both 16- and 128-but services in the same project.&lt;/p&gt;
&lt;p&gt;If you search the SDK for &amp;quot;sd_ble_uuid_vs_add&amp;quot;, you will find some examples.&lt;/p&gt;
&lt;p&gt;Basic API&amp;#39;s for creating your own 128-bit service&lt;br /&gt; - sd_ble_cfg_set(BLE_COMMON_CFG_VS_UUID, ...) // Configure BLE for your vendor-specific services&lt;br /&gt; - sd_ble_cfg_set(BLE_GATTS_CFG_ATTR_TAB_SIZE, ...) // ensure attribute table is large enough&lt;br /&gt; - sd_ble_uuid_vs_add() // Create a vendor-specific base UUID&lt;br /&gt; - sd_ble_gatts_service_add() // Add your service to the GATT server&lt;br /&gt; - sd_ble_gatts_characteristic_add() // Add your service characteristics to the GATT server&lt;/p&gt;
&lt;p&gt;The examples demonstrate how to hook up your service with the BLE runtime events.&lt;/p&gt;
&lt;p&gt;- Richard&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>