<?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>Stream generic data directly to PC via BLE/Bluetooth?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56606/stream-generic-data-directly-to-pc-via-ble-bluetooth</link><description>Hi there! I&amp;#39;ve developed with Nordic chips for years and really love the support, SDK, and awesome solutions you guys offer. Today, I would like to ask for some help. 
 I&amp;#39;m currently in the pre-production phase of developing a medical device that reads</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jan 2020 14:31:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56606/stream-generic-data-directly-to-pc-via-ble-bluetooth" /><item><title>RE: Stream generic data directly to PC via BLE/Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/229653?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 14:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65e767a0-5980-4d16-86a3-cadf164c7572</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Scott,&lt;/p&gt;
&lt;p&gt;The nRF Connect for desktop tool does not fit your requirement since it relies on a connected nRF5 DK or dongle, and not the native BLE device on the system. Therefore it is based on the pc-ble-driver-js (JavaScript bindings for pc-ble-driver), and does not use any common Bluetooth API&amp;#39;s. You can, of course, refer to it if you like, though. The source code is available on &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I do not see a big reason for looking for a tool that has native support for the Nordic UART service (NUS), since that is probably implemented within a few hours once you know the BLE API of whatever you are using. The only cross-platform BLE API for use with &lt;em&gt;native&lt;/em&gt; BLE devices I am aware of is &lt;a href="https://github.com/pybluez/pybluez"&gt;ByBlueZ&lt;/a&gt;. I don&amp;#39;t know how well it works on Windows, though. If not, it may be that you need to write separate code for each platform in this case.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stream generic data directly to PC via BLE/Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/229491?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 21:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f20ae80f-262a-426f-8724-cc2a2f79c2bb</guid><dc:creator>scott.williams.osd</dc:creator><description>&lt;p&gt;Thanks Einar. One thing I came across was this, nRF Connect App for Desktop:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Would this be appropriate? Does it have Nordic UART functionality like the iOS/Android nRF Connect Apps? And, also, is the application source available to allow our software engineer to build with it and modify our Windows/Mac software to be compatible?&lt;br /&gt;&lt;br /&gt;Thanks. Please let me know!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stream generic data directly to PC via BLE/Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/229458?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 15:44:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7feb5d42-4318-42bb-b28d-e0f38c17e0d0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Scott,&lt;/p&gt;
&lt;p&gt;You can think of the Nordic UART Service as an example of a custom service for generic data transport. So you can in fact continue to use this on the BLE link, and just skip the physical UART devices in the endpoints. If you make your own custom data streaming service it will probably be more or less the same. So my suggestion is to just keep the NUS service as is if that is something you are happy with.&lt;/p&gt;
&lt;p&gt;With the above approach, the question reduces to how you can implement support for this on the PC side without having an nRF dongle. Since you don&amp;#39;t want an nRF chip on the PC side, the pc-ble-driver is also irrelevant. (That is a PC side library that is used together with a connectivity firmware on the nRF side, to provide the SoftDevice API on a PC). I am not experienced with Bluetooth development on the Windows platform, and in fact, all BLE development we do for Windows uses the pc-ble-driver and only work with nordic devices. But windows do have &lt;a href="https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/bluetooth-low-energy-overview"&gt;native BLE support&lt;/a&gt;, and that is probably what you should investigate and use if you are making a Windows only application. There is an example &lt;a href="https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/BluetoothLE"&gt;here&lt;/a&gt;. (There are also other cross-platform libraries such as PyBluez&amp;nbsp;which work very well on Linux, but I am not sure how stable it is on Windows).&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>