<?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>Scripting nRF52840 Dongle test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37939/scripting-nrf52840-dongle-test</link><description>Hello, 
 I&amp;#39;m trying to quickly prototype a BLE radio tester and was thinking of trying to use the nRF52840 Dongle as the BLE central to simply pair and read a couple of basic BLE characteristics from the device under test (DUT). This is my first foray</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Aug 2018 14:13:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37939/scripting-nrf52840-dongle-test" /><item><title>RE: Scripting nRF52840 Dongle test</title><link>https://devzone.nordicsemi.com/thread/146350?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 14:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1586858f-3b10-4cab-81ae-9c4e6542c9f4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, pc-ble-driver-py does not yet support the nrf52840 dongle.&lt;/p&gt;
&lt;p&gt;The pc-ble-driver (written in C) has a feature branch with &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/feature/v6-upgrade"&gt;experimental support&lt;/a&gt;, but this has not been updated since the alpha version of S140 v6.&lt;/p&gt;
&lt;p&gt;You can run S132 on the nRF52840, as reported in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34963/pc-ble-driver-on-fenstel-ev-bt840f-nrf52840-mcu/137631#137631"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I would recommend is that you look into using a generic bluetooth LE capable USB dongle, and check out &lt;a href="http://www.bluez.org/"&gt;bluez&lt;/a&gt; (for linux).&lt;/p&gt;
&lt;p&gt;Adafruit has a python library available which runs on linux and MacOS:&amp;nbsp;&lt;a href="https://github.com/adafruit/Adafruit_Python_BluefruitLE"&gt;https://github.com/adafruit/Adafruit_Python_BluefruitLE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scripting nRF52840 Dongle test</title><link>https://devzone.nordicsemi.com/thread/146190?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 00:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:362ffe1d-b09e-4dac-8139-0c7f98ae3dad</guid><dc:creator>Lincoln</dc:creator><description>&lt;p&gt;To follow up my own question, I have discovered this Python library since posting this and it seems very easy to use:&amp;nbsp;&lt;a href="https://github.com/peplin/pygatt"&gt;https://github.com/peplin/pygatt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It requires the Bluegiga BLED112 dongle (or similar), which I&amp;#39;d have to order...&amp;nbsp; I guess my question still stands though.&amp;nbsp; Is there already a simple Python (or similar) interface for doing standard BLE stuff with a Nordic Dongle?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>