<?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>Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23745/creating-a-custom-uart-connection-over-ble</link><description>I would like to use the ble_app_uart_c example, found here , to connect to a custom peripheral. What values should I change in the central device code in order to connect to a device, service, and characteristic of my choice? 
 I am guessing I need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jul 2017 19:01:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23745/creating-a-custom-uart-connection-over-ble" /><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93400?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 19:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cccbccb-4382-4f1f-9735-0e997c9ebb23</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;BT protocols are vendor independent so in general there is no difference what chip is implementing it on &amp;quot;the other side&amp;quot;. Actually it&amp;#39;s pretty easy to develop device where you won&amp;#39;t recognize what ship it is (without dissecting it physically). So without more details your question doesn&amp;#39;t make much sense, all examples in Nordic SDK should work the same whatever devices is implementing the counter-part (remember that except some latest development all Bluetooth protocols are always peer-to-peer and BLE is always asymmetric so you need to have &amp;quot;matching pair&amp;quot; of devices to make it work).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93399?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 16:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f64376b-1245-464b-9d1d-31dac6d8b712</guid><dc:creator>tolab</dc:creator><description>&lt;p&gt;Thanks! Do you also have any resources for someone looking to connect to a peripheral that is not a nordic chip, but instead any bluetooth device (i.e. A pair of bluetooth headphones)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93404?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 16:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3109194-7498-4b95-b09d-f9e8d93ddd12</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Cool, then spend some time by reading all the tutorials and then we can answer rest of your questions;)
&lt;a href="https://devzone.nordicsemi.com/tutorials/8/ble-services-a-beginners-tutorial/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/tutorials/5/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/tutorials/17/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93403?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 15:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9115032-ff21-446f-98f7-3ddcc50f4b3e</guid><dc:creator>tolab</dc:creator><description>&lt;p&gt;Sorry I am very new to this so I have many questions. What does it mean to provision a UUID?&lt;/p&gt;
&lt;p&gt;Does this mean, if I change the given 128 bit UUID in the example to resemble the UUID of the characteristic I&amp;#39;m trying to read, it won&amp;#39;t affect any of the other UUID&amp;#39;s my board needs to read (i.e. the UUID for another service)? I am confused because they do not all have the same 128 bit form.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93402?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 14:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d52347aa-770b-4da6-b38e-95b02e1f1ed9</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Not really. In Nordic BLE stack all UUIDs are 128-bit (that&amp;#39;s actually true in BT SIG Core as well;). They just come in pair of values: 16-bit UUID + 128-bit UUID base. Now the only standard 128-base which is in SoftDevice pre-configured is the one defined for 16-bit BT SIG UUIDs (logical;). What Nordic BLE UART examples are doing is that they provision second (custom) 128-bit UUID to Soft Device during init and then they use it as base for all custom 16-bit UUIDs. This is the same on GATT Server as well as GATT Client side. SO the answer is: provision correctly your specific 128-bit UUID base and use it for provisioning all Service/Characteristic UUIDs together with 16-bit values (but I&amp;#39;m pretty sure this is already happening in Nordic SDK examples).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93401?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 14:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad3946c7-b0fc-4c5d-ab72-45aa4799cbeb</guid><dc:creator>tolab</dc:creator><description>&lt;p&gt;The original RX and TX characteristics are 16-bit UUIDs. The UUID for my custom device is 128 bits long. How do I adjust for this?&lt;/p&gt;
&lt;p&gt;Thanks for the response!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a custom UART connection over BLE</title><link>https://devzone.nordicsemi.com/thread/93398?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 14:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c04494ef-430a-49c0-b21d-d18b9d11ba0b</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;If you change all UUID values correctly then GATT service discovery in &lt;code&gt;ble_db_discovery&lt;/code&gt; module should make the job for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>