<?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>Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64988/custom-ble-app-on-pc-using-nrf51-dongle</link><description>Hi! I want to program a custom BLE application (as Central/master/GATT client device) to run on a Windows PC using a nRF51 Dongle (PCA10031 board) attached through USB in order to scan, connect and exchange some data with a BLE peripheral/slave/GATT server</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Aug 2020 06:45:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64988/custom-ble-app-on-pc-using-nrf51-dongle" /><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/266865?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 06:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b716ed9-a7e7-4480-a5fc-1881d20ef3a1</guid><dc:creator>Mario Amigot</dc:creator><description>&lt;p&gt;Which is the right connectivity firmware file to flash into the nRF52840 Dongle? There are 3 different hex files to choose from:&lt;/p&gt;
&lt;p&gt;connectivity_4.1.2_1m_with_s140_6.1.1.hex&lt;/p&gt;
&lt;p&gt;connectivity_4.1.2_usb_for_s140_6.1.1.hex&lt;/p&gt;
&lt;p&gt;connectivity_4.1.2_usb_with_s140_6.1.1.hex&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/266469?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 11:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2af8c02-b78a-4f95-a3bb-08cd8db8f7eb</guid><dc:creator>Mario Amigot</dc:creator><description>&lt;p&gt;OK. Understood.&lt;/p&gt;
&lt;p&gt;Thank you very much for your support! :D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/266461?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 11:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39b3c763-62f1-41cb-965d-b8f0e5e1e00d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mario,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can just use the latest release. Currently it&amp;#39;s the 4.1.2 :&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/release/4.1.2/hex"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/tree/release/4.1.2/hex&lt;/a&gt;&lt;br /&gt;If you use nRF52832 you should use the image that include S132. If you use nRF52840 you should use the image includes S140.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/266233?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 12:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ef64c52-3c2d-4a8c-b79c-072679a10954</guid><dc:creator>Mario Amigot</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Just in case we decide to migrate to RF52 Dongle in a near future:&lt;/p&gt;
&lt;p&gt;Which Connectivity firmware hex file should be flashed? (and which SoftDevice would&amp;nbsp;be used?)&lt;/p&gt;
&lt;p&gt;Which pc-ble-driver release (tag) should we use? v4.1.2?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Mario&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/265794?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 13:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44b4a390-166e-4d69-9776-e4f2d5c6f671</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If it&amp;#39;s the case you can continue with the nRF51.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Correct, S130 only supports 23 bytes ATT_MTU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/265675?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 07:43:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99db9e4e-af76-4565-ae1c-1d27255ffd03</guid><dc:creator>Mario Amigot</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;The reason of using nRF51 is that we&amp;#39;ve being using the RF51 Dongle for the last years for other purposes (e.g. nRF Sniffer) and we have PCA10031 boards in stock. Plus this new application we want to develop is going to be quite simple so we don&amp;#39;t need all the new features included within the newer nRF52 platform. As far as we can implement a basic Central device in a PC application which uses nRF51 Dongle as its Connectivity chip, we are good.&lt;/p&gt;
&lt;p&gt;By the way, maximum ATT_MTU for nRF51 Dongle running S130 SoftDevice is 23 bytes, right?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Mario&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BLE app on PC using nRF51 Dongle</title><link>https://devzone.nordicsemi.com/thread/265569?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 13:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0b5ac9d-077d-4ce2-abb4-c48e6acbf5e6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mario,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a look at the documentation you can find that you need to flash the connectivity firmware that already included the softdevice. In your case you should flash&amp;nbsp;connectivity_4.1.1_1m_with_s130_2.0.1.hex file. The connectivity files can be found in this release branch:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/release/4.1-compiled-connectivity"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/tree/release/4.1-compiled-connectivity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, I wouldn&amp;#39;t suggest to develop using nRF51 now. It&amp;#39;s very old product and the softdevice supports it doesn&amp;#39;t have all the new features. I would suggest to get started using a nRF52 instead.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We have the examples here showing how you can connect to a peripheral and collect data from it:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/release/4.1-compiled-connectivity/examples"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/tree/release/4.1-compiled-connectivity/examples&lt;/a&gt;&amp;nbsp;If you want to use python there is a wrapper library and example here:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py"&gt;https://github.com/NordicSemiconductor/pc-ble-driver-py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Another option you can think of is to use the computer native Bluetooth if it&amp;#39;s supported on the computer. I haven&amp;#39;t got much experience but you can try&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;a title="https://github.com/hbldh/bleak" href="https://github.com/hbldh/bleak" rel="noopener noreferrer" target="_blank"&gt;https://github.com/hbldh/bleak&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/noble/noble"&gt;https://github.com/noble/noble&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;Doing this you don&amp;#39;t need to connect a dongle to PC.&amp;nbsp;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>