<?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>Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52572/nordic-provide-a-ble-usb-dongle-for-applications-running-on-a-pc</link><description>Does Nordic provide a BLE functionality with a USB dongle that a PC application can use? I do NOT want to use the Windows 10 BLE as it is buggy and does not provide the low level control I need. I am writing an extensive health device BLE test suite for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Oct 2019 14:18:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52572/nordic-provide-a-ble-usb-dongle-for-applications-running-on-a-pc" /><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/213452?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2019 14:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94332c8b-a773-4e54-bd56-3239fc6dbfcb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please test out to add the preprocessor symbols that Sigurd added in your other case. I just tested this in Visual Studio and I&amp;#39;m able to compile the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/213440?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2019 13:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c667d8-28a9-4094-ac58-0ddabefb4e8a</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;I would have to agree; I tried the above process on a &amp;#39;clean&amp;#39; system and could not stop it from installing in AppData. I suppose I could try to just move it and see if it still works ....&lt;/p&gt;
&lt;p&gt;At this point I have gotten as far as trying to build the heart rate monitor sample app in Visual Studio. However, I get 16 unresolved symbol errors ... all ble related like the project cannot find the library or I am missing a library that is not included in the&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/releases/tag/v4.1.1"&gt;downloadable releases&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/213433?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2019 13:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19c18379-c959-469d-88b7-821064bef5cc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The developers tell me that the install location for nRF Connect is hardcoded and cannot be modified during install. Trying to move the application will probably break some paths used by the application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/213148?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 09:35:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb9651d-6d8a-4aed-a8bf-f9b16cc2d041</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;My dongle has no side button but it does have a white button next to the&amp;nbsp;MCU on the opposite side of the MCU of the flashing red LED. I assume that&amp;#39;s the button you mean.&lt;/p&gt;
&lt;p&gt;No I did not do those steps. I did not find those in a way I understood them to apply to my use case (I was scared of doing damage.). BUt I just did it and it worked. The LED flashed in funny ways as the write was being done and a green LED flashed in a different location (I am assuming it means success) and now the dongle is back to flashing red. I am saving this set of steps. If this actually allows me to code and run C-based BLE apps on my PC, this was incredibly easy!&lt;/p&gt;
&lt;p&gt;By the way, nfrConnect got installed in my AppData/Local/ Programs directory. I&amp;#39;m not sure how. Can I just move that entire nrfconnect directory somewhere else or must I uninstall and reinstall and keep close track of where I can make the move to install it in a location of my choice.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just found out that the reset button is the little tiny thing next to SW1 (the white button). I pushed the white button and not the reset button, Yet it seemed to work. Don&amp;#39;t know if it is all messed up or what. Perhaps I should re-do?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;These are the steps I finally took (except I did not press the reset button - I pressed SW1)&lt;/p&gt;
&lt;p&gt;Configure the nRF52840 dongle to access its BLE functionality from a PC application&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download the driver from here: &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/releases/tag/v4.1.1"&gt;github.com/.../v4.1.1&lt;/a&gt; Its just a zip file. Just unzip it. No installation needed.&lt;/li&gt;
&lt;li&gt;Download the nRF Connect for Desktop application here: &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-desktop"&gt;www.nordicsemi.com/.../nRF-Connect-for-desktop&lt;/a&gt; This will download a setup executable nrfconnectsetup320ia32.exe. Even though it says &amp;#39;32&amp;#39; its for both 32 and 64 bit machines.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Run the nrfconnectsetup320ia32 setup program.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Download Segger Jlink software here: &lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;www.segger.com/.../&lt;/a&gt;. It will look like this: JLink_Windows_V652a.exe. Run the installer.&lt;/li&gt;
&lt;li&gt;Plug in the dongle - a red LED should flash.&lt;/li&gt;
&lt;li&gt;Open nRF Connect for Desktop. You will see &amp;#39;APPS&amp;#39; and &amp;#39;SETTINGS&amp;#39; in the title bar. Be sure &amp;#39;APPS&amp;#39; is selected&lt;/li&gt;
&lt;li&gt;Scroll down to &amp;#39;Programmer&amp;#39;. In my case it was second in the list of choices so I didn&amp;#39;t have to scroll.&lt;/li&gt;
&lt;li&gt;Click the &amp;#39;Install&amp;#39; button (it will then be &amp;#39;Open&amp;#39; when re-visited). A new window will popup.&lt;/li&gt;
&lt;li&gt;On the dongle press the reset button to put it into programmable mode (DFU mode) - I think DFU means Device Firmware Update but I am not sure. Note that the reset button is the tiny button on the side of the &amp;#39;reset&amp;#39; unit next to the big white SW1 button. You can see the reset unit pictured here: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf52840_dongle%2FUG%2Fnrf52840_Dongle%2Fhw_button_led.html&amp;amp;cp=3_0_5_5_3"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt; - Note the button is very tiny and not so obvious!&lt;/li&gt;
&lt;li&gt;In the nRF Connect Desktop program&amp;#39;s new popup window select the device from the drop down window in the title bar.&lt;/li&gt;
&lt;li&gt;Click on &amp;#39;Add Hex file&amp;#39; in the selections on the right hand side.&lt;/li&gt;
&lt;li&gt;Navigate to the appopriate HEX file where the driver was unzipped and select it. In my case located here: nrf-ble-driver-4.1.1-win_x86_64\share\nrf-ble-driver\hex\sd_api_v6\connectivity_4.1.1_usb_with_s140_6.1.1.hex&lt;/li&gt;
&lt;li&gt;Now select the &amp;#39;Write&amp;#39; option from the list on the right hand side. The LEDs should flash and eventually the green LED will flash. At the bottom of the Desktop app will be a display of the progress. When all done the last row should say &amp;#39;DFU for SoftDevice completed successfully!&amp;#39;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/213142?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 09:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c345798e-d6e6-4f99-b012-44120b5effa4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;connectivity_4.1.1_usb_with_s140_6.1.1.hex&amp;quot; should be the correct hex file. You can also choose one for an older softdevice API (v3, v5), but these will not provide all the available features that the latest softdevice does.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m not sure what you mean by &amp;quot;cental/client app&amp;quot;. You installed nRF Connect for Desktop, installed&amp;nbsp;and launched the &amp;quot;Programmer app&amp;quot; inside nRF Connect, pressed the side-button on the Dongle (the LED should be pulsating in red color), selected the dongle from the drop-down list in the upper left corner? When you have done this, you should be able to browse to the hex-file location by pressing &amp;quot;Add HEX file&amp;quot;, and then click &amp;quot;Write&amp;quot; to write the application to the dongle.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/213071?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 22:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed92bf8a-e745-405a-b8fe-1232fd8bcc2c</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;I have the dongles and have got the segger installed and the dongle recognized. nRF connect tool is installed. Looked at&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;this tutorial&lt;/a&gt;&lt;span&gt;&amp;nbsp;but do not see how to install the pre-compiled HEX files I downloaded. All I get is the option to install a cental/client app on the dongle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it SoftDevice I am trying to install? One of these files&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;connectivity_4.1.1_usb_with_s140_6.1.1.hex&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;perhaps? (There are 4 hex files each in four directories. They are the only HEX files I could find. How do I get the nRF Connect tool to install these HEX files onto the dongle (assuming they are what I want). Of the selection is large; there are 12 to choose from.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/212262?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 11:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba1e7415-c841-4af0-9e3e-f05c68d94ea4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Note that if you want to use the nRF52840 Dongle that I linked above, this does not contain a Segger debugger to program the device. Instead, the device comes loaded with our serial bootloader, allowing you to program the connectivity hex through the USB port of the dongle. Please see &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;this tutorial&lt;/a&gt; for more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/212259?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 11:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:792a9614-92d7-43d9-90bc-c215ae46929d</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;This is starting to sound much easier. Since I am running on a 64 bit Windows machine, the driver libraries are already available and I do not have to build them. The connectivity HEX file is also available, so I don&amp;#39;t have to build that either. All I need (that I do not have) is a tool to install the connectivity HEX file through the JSEGGER interface. Once that is done, I could, in theory, start a new VC studio project and create a BLE peripheral or central using the SoftDevice APIs. Love the sound of that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/212247?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 10:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9d741bb-e431-435a-b517-8f37fe7280a0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The connectivity HEX file is the firmware that runs on the nRF chip and provides serialized control of the BLE softdevice. The pc-ble-driver implements the serialization libraries that run on the host side (PC), allowing you to call softdevice APIs from your C/C++ application. These function calls will be serialized and transported over the serial link by the pc-ble-driver.&lt;/p&gt;
&lt;p&gt;When I said &amp;quot;generate projects&amp;quot; I was referring to the projects for building the driver libraries and generation of the example projects. I assume you can also build the libraries only, and link these in your VS project yourself.&lt;/p&gt;
&lt;p&gt;[EDIT]: The zipped release on GitHub also includes the linkable library, meaning you should be able to link this into your VS project, given that you develop on one of the platforms that we provide releases for (win x86_32/64, linux x86_64, macos x86_64).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/212224?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 09:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57adeb55-543f-4a81-8997-853add341ff7</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;Okay, I thought the connectivity HEX file WAS the driver. The word &amp;#39;driver&amp;#39; is confusing to me as it is used in so many contexts. Is the driver something that sits on the PC that has to be installed into the OS (like a USB driver one often gets with a USB product) or is it a library that my VS project will use. You mention &amp;#39;generate the projects&amp;#39;. I assumed I would generate my projects in VS.&lt;/p&gt;
&lt;p&gt;I guess I do not understand the setup/config system yet (those are always the most difficult stages in any endeavor). Before I dig deeper I am waiting on another question. I was looking at the APIs and noted there was no GATT event signaled to a peripheral on a generic client read. There was an event on an &amp;#39;authorized&amp;#39; read/write but it is not clear to me what that is. However, if the Nordic chips do NOT signal the peripheral application on a client read and allow the application to control what is then sent back to the client then we cannot use it. It&amp;#39;s funny that the high level Android API allows this ... which is wonderful but it has far too little control over everything else BLE to be useful for our purposes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/212212?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 08:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b80c3e-35fb-4fac-800d-51134a900f62</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, there is no additional HEX files you need to build apart from the connectivity HEX file that you find in the release. However, you would still need to setup the other build tools, to compile the driver itself and generate the projects.&lt;/p&gt;
&lt;p&gt;If you are looking for a cleaner solution, you can also consider porting our &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrf51_setups_serialization.html?cp=5_1_1_4"&gt;serialization libraries&lt;/a&gt; to your desktop. This is the same solution as pc-ble-driver is using, but will require more effort on your end to make it work on your platform.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/212113?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 15:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3884341e-6092-45c1-8c5d-9486aa4eefc3</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;&lt;span&gt;If I install the precompiled HEX files, then I can use Visual Studio only to write applications, correct? I wont need to buy the IAR compiler or another special compiler to write ARM HEX files...or will there still be some HEX files I will need to build in addition to the precompiled HEX files?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/211836?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 13:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e1ae37-eec0-403f-b346-2fd3af7cdbe3</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;I was looking at the numerous programs that need to be installed, choclately, cmake nrf***, among others. I think I can avoid choclately which I have no desire to have. I guess Visual Studio is not enough but I need gcc compilter as well. Not sure about that. I have been going through the sequence and trying to figure out what to do in a way that&amp;#39;s easy to clean up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/211823?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 12:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:461743df-47f1-4de9-9a4d-69970794315b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;There are a few tools and dependencies required in order to build the driver, but as long as you follow the instructions closely, you should be fine.&lt;/p&gt;
&lt;p&gt;The tools are required in order to support the many platforms and targets (OSes, ICs, softdevice versions, physical transports, etc.). You will need to run an application on the nRF chip in any scenario that you want to use it for BLE, the chip is blank when produced, and does not provide any mechanism for controlling BLE. The connectivity HEX file that is required by pc-ble-driver is not changed after the first build, you only need to rebuild it if you want to change softdevice version or run it on another board. In fact, you do not need to compile the connectivity hex yourself at all if you want to run it on any of our boards, you can use the precompiled version found in the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/releases/tag/v4.1.1"&gt;downloadable releases&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Exactly which tools are you concerned about?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/211775?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 11:03:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7cd9d01-fdf8-4a88-809f-b4d5d82bb29c</guid><dc:creator>brianreinhold</dc:creator><description>&lt;p&gt;I looked at the instructions on git hub for the pc-ble-driver which seems incredibly complex,&amp;nbsp; requiring installation of all kinds of software that I have never heard of, setting up numerous environment variables, and then one still installs a HEX file. Besides the chances of getting one of those steps wrong (since I have no idea what I am doing - just following a sequence of cookbook steps) is this still for writing C-based BLE applications that run on the PC? If so, what does that lengthy installation procedure accomplish? If I had some idea of what I am doing perhaps the chances of success are better....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic provide a BLE USB dongle for applications running on a PC?</title><link>https://devzone.nordicsemi.com/thread/211751?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 09:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78412583-a87b-4255-ba5a-0588f3d1f959</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/"&gt;pc-ble-driver&lt;/a&gt;&amp;nbsp;should meet your requirements. This is a C/C++ library for serializing our BLE softdevices. You can use it together with our &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-Dongle"&gt;nRF52840 Dongle&lt;/a&gt; (PCA10059).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>