<?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 built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22169/how-to-built-a-128-uuid-bit</link><description>Hallo comunnity 
 I have a sensor which is working is sending data via BLE and it has a 128 UUID bit service [0x 000000-000000-1000-8000-0080-5F9B34FB]
 
 In order to do the discovery i should add it using sd_ble_uuid_vs_add ()
But I&amp;#180;ve problem there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 May 2017 08:18:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22169/how-to-built-a-128-uuid-bit" /><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87145?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 08:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46d04e69-1a8d-4ce0-b35a-dcfcc259c4a6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Add 128-bit base UUID to SoftDevice ATT/GATT table? Yes and no. If you don&amp;#39;t care to receive 2-byte UUID + &lt;code&gt;BLE_UUID_TYPE_UNKNOWN&lt;/code&gt; type for 128-bit base then you can go with it. Otherwise you need to provision all 128-bit bases to the stack because that&amp;#39;s how Soft Device work on GATT layer, whatever Client or Server role.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87144?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 08:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a359752-9b70-4496-9cd3-5ee5718d1ec9</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Oh, my bad. Yes,  then you need to take a look at the ble_app_uart_c example, specifically the ble_nus_c_init function, where you add the vendor specific UUID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87143?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 08:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4acc941-7756-47fe-a47a-d5485a2832c4</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;I&amp;#39;m doing an app for central and I need to discover a service which has a 128 uuid, Do I need to add it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87142?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 07:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32bf0030-1395-4a9a-864e-15b09b702251</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well the &lt;code&gt;examples/ble_central/ble_app_uart_c&lt;/code&gt; is counterpart of e&lt;code&gt;xamples/ble_peripheral/ble_app_uart&lt;/code&gt;, isn&amp;#39;t it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87141?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 07:57:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9a00409-1116-4f65-b05c-39628a33d1ed</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, ble_app_uart found in examples/peripheral/ble_app_uart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87140?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 07:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043f00c6-afda-4f9e-ba1e-c5e89a6b6c73</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;is the NUS example  the BLE_APP_UART_C?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87146?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 13:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0edfc3b3-2f04-46d8-821c-fbe9f59eb841</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;As Turbo J explained, Nordic Soft Device runs (in the spirit of BT SIG) on 16-bit short UUIDs and 128-bit base UIDs during any GATT operation. So you will get structure of short 2-byte UUID value and reference to internal &amp;quot;table&amp;quot; of 16-byte UUID bases. By default Soft Device knows only BT SIG one and all the rest is treated as &amp;quot;unknown&amp;quot;. If you know at start up which proprietary UUIDs you will use then you can provision them to the Soft Device (but you will need to remember which index is which). If not then you can either do it later during run-time or simply do this outside of Soft Device by reading full 128-bit UUID value by proper GATT commands (this is applicable for GATT Client only of course).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87139?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 13:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10795aaa-997a-404f-a5d2-2de829f04bf1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You cannot use a 128-bit UUID directly with &lt;code&gt;sd_ble_gattc_primary_services_discover()&lt;/code&gt;. These 128 bit UUIDs  must first be added to the softdevice via &lt;code&gt;sd_ble_uuid_vs_add()&lt;/code&gt; call.&lt;/p&gt;
&lt;p&gt;The NUS (Nordic UART) example uses this to implement the custom UUID Uart service, so look at its source code on how to use these functions properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87138?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 12:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2fb6e3a-ef6e-493b-8985-55912fefa808</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;My sensor has BLE, that&amp;#39;s not the problem. it is using a cypress chip and I&amp;#39;m pretty sure that uses BLE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to built a 128 UUID bit</title><link>https://devzone.nordicsemi.com/thread/87137?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 12:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7628a890-54cc-45b2-94b2-f7c4ec902618</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;This UUID is reseved for &lt;strong&gt;bluetooth classic&lt;/strong&gt; SPP. Your sensor probably does not support Bluetooth low energy at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>