<?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>USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54154/usbd-ble-uart-example---central</link><description>Hi, 
 I am using Laird&amp;#39;s BL654 USB dongle based on the nrf52840 and would like to convert the peripheral USBD BLE UART example ( https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fusbd_ble_uart_example.html ) to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Feb 2020 00:20:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54154/usbd-ble-uart-example---central" /><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/236667?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 00:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf482366-42db-4042-a6f2-7d26477001e2</guid><dc:creator>manuwind</dc:creator><description>&lt;p&gt;Hi all,&lt;br /&gt;&lt;br /&gt;I am checking the Uart central and peripheral projects, also the one with usbd and I have one question that may be obvious for you.&lt;br /&gt;&lt;br /&gt;How do you select the peripheral to connect with?&lt;br /&gt;&lt;br /&gt;In a cellphone you select the device you want.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see there is a scan_start function and the NRF_BLE_SCAN_EVT_CONNECTED event but no code to select the peripheral.&lt;/p&gt;
&lt;p&gt;I have already implemented a MIDI BLE peripheral with the dk52, now I need the MIDI BLE central.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Manuel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/219754?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 18:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6d58bf3-b945-4ad1-bbff-cbdb2f5c4995</guid><dc:creator>cachro2</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/219746?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 17:08:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17165892-d9ca-4ac8-8f3b-7dde598612a2</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="84877" url="~/f/nordic-q-a/54154/usbd-ble-uart-example---central/219551"]Are there compelling reasons as they relate to this example why we should change to SDK 16?[/quote]
&lt;p&gt;No. The main new feature in SDK 16 is support for&amp;nbsp;&lt;span&gt;nRF52833. There are a couple of bugs fixes in SDK 16, but nothing major related to this example.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/219551?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 21:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:410fae94-82ef-4d2c-9106-9eba4b6f7421</guid><dc:creator>cachro2</dc:creator><description>&lt;p&gt;Thank you! Brilliant, worked perfectly. I am thoroughly impressed by Nordic&amp;#39;s organization of the application code as they relate to the wireless communication stacks. The only additional modification I made to get it to compile was to comment out &lt;strong&gt;#include &amp;quot;nrf_sd_def.h&amp;quot;&lt;/strong&gt; in sdk_resources.h (line 52):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if defined(SOFTDEVICE_PRESENT) || defined (BLE_STACK_SUPPORT_REQD) || defined (ANT_STACK_SUPPORT_REQD)
//    #include &amp;quot;nrf_sd_def.h&amp;quot;
#else&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now as you may have guessed my final question pertains to SDK 16. I found the migration guide (&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fmigration.html&amp;amp;cp=5_1_1_8"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fmigration.html&amp;amp;cp=5_1_1_8&lt;/a&gt;) and at a glance it does not seem like there is too much to change but I am new to your hardware. Are there compelling reasons as they relate to this example why we should change to SDK 16? The &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/nRF5-SDK/Download"&gt;changelog &lt;/a&gt;doesn&amp;#39;t really make it seem so:&lt;/p&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Added support for the nRF52833 DK and nRF52833 SoC&lt;/li&gt;
&lt;li&gt;Added support for Bluetooth LE SoftDevices version 7.0.1, as well as the new SoftDevice S113&lt;/li&gt;
&lt;li&gt;Added an external Tile library and a corresponding example demonstrating the &amp;quot;find me&amp;quot; feature&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/219397?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 09:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28570276-039c-4478-a5cb-513d0c7e9b17</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Ideally, the project should be ported to SDK 16. But porting the project to use the newest SoftDevice should be straightforward. Looking at the s140_nrf52_7.0.1_migration-document.pdf, some PPI macros are changed, and BLE_COMMON_OPT_ADV_SCHED_CFG is removed, but this project are not using those.&lt;/p&gt;
&lt;p&gt;So to migrate to SoftDevice v7.0.1, replace the headers found in SDK_15_3_folder\components\softdevice\s140\headers , with the new S140 v7.0.1 headers.&lt;/p&gt;
&lt;p&gt;Then, in the SES project, change FLASH_START from 0x26000 to 0x27000, and set FLASH_SIZE=0xd9000&lt;/p&gt;
&lt;p&gt;Also change RAM_START and RAM_SIZE according to this figure:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-fb93b55ea3cc4f30b15a5e3541792f39/pastedimage1573462984896v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Might also want the loader to point to the new SD version:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-fb93b55ea3cc4f30b15a5e3541792f39/pastedimage1573463002102v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then recompile the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/219178?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 22:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0439f22d-c42e-464d-9b9b-05cf84db6b22</guid><dc:creator>cachro2</dc:creator><description>&lt;p&gt;Fantastic. Works like a charm using SoftDevice s140 v6.1.1 on both the Nordic PCA10059 and the Laird BL654 USB module (451-00004). However, the USB Serial Device does not pop up in Device Manager when I use Softdevice s140 v7.0.1. Pardon my ignorance, but is there an easy way to modify the project so that it works with the newest protocol stack?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD BLE UART Example - Central</title><link>https://devzone.nordicsemi.com/thread/219161?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 19:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17b2cbce-10d9-4b6c-9ba1-64ad53de526b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I believe the easiest approach would be to take the usbd_ble_uart example, and replace the &lt;/span&gt;ble_app_uart&amp;nbsp;&lt;span&gt;specific &lt;/span&gt;part of the code with the ble_app_uart_c code.&lt;/p&gt;
&lt;p&gt;That said, you can find a&amp;nbsp;&lt;span&gt;central version of the usbd_ble_uart example attached &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle/203656#203656"&gt;in this post&lt;/a&gt;&amp;nbsp;(for SDK 15.3).&amp;nbsp;I recommend to use the &lt;a href="https://www.segger.com/downloads/embedded-studio/"&gt;Segger Embedded Studio&lt;/a&gt;(SES) project. Note that if you are using a newer version of SES, you need to set&amp;nbsp;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED to 0 in sdk_config.h in order to get RTT logging working correctly(useful if using a DK).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>