<?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/"><channel><title>Accessing the SoftDevice API from Python with pc-ble-driver-py</title><link>/nordic/nordic-blog/b/blog/posts/accessing-the-softdevice-api-from-python-with-pc-b</link><description>A new tool from Nordic has been released, pc-ble-driver-py, which allows Python developers to access the full SoftDevice 2.x.x API from a Python application.
Update: Raspberry Pi unofficial build available!
If you want to try version 0.5.0 on a Ras</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><item><title>RE: Accessing the SoftDevice API from Python with pc-ble-driver-py</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/accessing-the-softdevice-api-from-python-with-pc-b</link><pubDate>Fri, 10 Mar 2017 17:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ace0a1a-6acb-4de3-a3c7-158421374c58</guid><dc:creator>Arepa</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@Carles  are there any update regarding to Raspberry Pi? or how to use pc_ble_driver_py_rpi-0.5.0.tar.gz?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=936&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Accessing the SoftDevice API from Python with pc-ble-driver-py</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/accessing-the-softdevice-api-from-python-with-pc-b</link><pubDate>Thu, 30 Jun 2016 10:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ace0a1a-6acb-4de3-a3c7-158421374c58</guid><dc:creator>Carles</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@Leon Why not hack it in Python and share the code with us? You will be properly credited and many other customers or tinkerers interested in the library will be able to benefit from it. As mentioned on the GitHub issue that mirrors these comments, we plan to expand the Python abstraction layers as time permits, but we will welcome any external contributions with open arms.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=936&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Accessing the SoftDevice API from Python with pc-ble-driver-py</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/accessing-the-softdevice-api-from-python-with-pc-b</link><pubDate>Wed, 29 Jun 2016 19:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ace0a1a-6acb-4de3-a3c7-158421374c58</guid><dc:creator>Leon Woestenberg</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I second the request for a python (central role) example that parses any peripheral in a tree-like fashion, including support for 128-bit UUIDs, as a starting point for device-under-test (DUT) scenarios.&lt;/p&gt;
&lt;p&gt;Currently I am hacking the heart rate collector example in C.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=936&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Accessing the SoftDevice API from Python with pc-ble-driver-py</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/accessing-the-softdevice-api-from-python-with-pc-b</link><pubDate>Wed, 29 Jun 2016 15:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ace0a1a-6acb-4de3-a3c7-158421374c58</guid><dc:creator>Kapil Sachdeva</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Tried the examples and they do work as you mentioned in the post however these are very basic examples. Since there is no documentation / guide on how to use python library would appreciate if you could provide more examples. For e.g. I am looking for the ability to&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;issue scan of devices (your heart rate collector does this)&lt;/li&gt;
&lt;li&gt;issue discovery of services (your heart rate kind of does this)&lt;/li&gt;
&lt;li&gt;I want my app to be notified when the service discovery is done&lt;/li&gt;
&lt;li&gt;Once discovery is done I want to have the handles of the characterisitics of various services. is there an event/callback that is fired when discovery process is done !!&lt;/li&gt;
&lt;li&gt;Once I have the handle of the desired characteristics I want to perform read and write operations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Would really appreciate an example like this.&lt;/p&gt;
&lt;p&gt;Regards &amp;amp; thanks
Kapil&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=936&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>