<?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>pc-ble-driver-py failed to open with error code 13</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18648/pc-ble-driver-py-failed-to-open-with-error-code-13</link><description>Hi all, 
 I wrote a small python script on top of the pc ble driver bindings and ran into a problem when deploying the script on a new pc: 
 c:\Python27\Scripts&amp;gt;python.exe btle_test.py -aC7EEEFA85254 -t NRF51
Serial port used: COM46
Traceback (most</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Dec 2016 21:47:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18648/pc-ble-driver-py-failed-to-open-with-error-code-13" /><item><title>RE: pc-ble-driver-py failed to open with error code 13</title><link>https://devzone.nordicsemi.com/thread/72036?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 21:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:047f88aa-61a2-4576-8d0d-31e8af4ea76c</guid><dc:creator>Martijn Vriens</dc:creator><description>&lt;p&gt;Hi, I just got feedback that re-flashing the dongle with the suggested firmware solved the problem on the new pc.
Thanks a lot for your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py failed to open with error code 13</title><link>https://devzone.nordicsemi.com/thread/72035?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 09:57:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f45a148-f6c3-48f6-814a-1c7f7e99920b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Martijn,&lt;/p&gt;
&lt;p&gt;Which hex file did you use for the dongle ?&lt;/p&gt;
&lt;p&gt;I see the same error code if I use connectivity_1.0.1_1m_with_s130_2.0.1.hex.&lt;/p&gt;
&lt;p&gt;The ble_driver_py by default use 115kbps as the UART baudrate, you should flash it with connectivity_1.0.1_115k2_with_s130_2.0.1.hex or let the python code flash the board it self (erase the dongle, then run the heart_rate_collector.py for example).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>