<?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>nRF51 Dongle Sniffing Python 3.6</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52162/nrf51-dongle-sniffing-python-3-6</link><description>Hi, 
 We are trying to implement an interface to sniff bluetooth data. We are using Linux with Ubuntu 18.04. Our code for other interfaces are written in Python 3.6. Naturally, we also have Python 2.7 installed as well by default from Ubuntu 18.04. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Sep 2019 11:45:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52162/nrf51-dongle-sniffing-python-3-6" /><item><title>RE: nRF51 Dongle Sniffing Python 3.6</title><link>https://devzone.nordicsemi.com/thread/209808?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 11:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b7018d-4cda-4154-a7ae-fee63d3250a3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Then we do not have anything to offer directly, but you are free to pick what you want from our sniffer and use it in your own setup (just make sure to respect the limitations listed in&amp;nbsp;LICENSE.txt) or try to port it to Python 3.6, if that makes more sense.&amp;nbsp; Alternatively, if you just need for instance a BLE observer (and not a sniffer), then you can use for instance the&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py"&gt; pc-ble-driver-py&lt;/a&gt;, which supports Python 3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 Dongle Sniffing Python 3.6</title><link>https://devzone.nordicsemi.com/thread/209803?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 11:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4ff9369-2502-40e1-aefc-188460ef5b80</guid><dc:creator>horacelai</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Yes I had pyserial 3.4, for python 2.7.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Our requirements are BLE sniffing using OS Ubuntu 18.04, Python3.6. We are trying to use the sniffer as part of our test code which has various other interfaces. Everything has been done in Python 3.6 so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 Dongle Sniffing Python 3.6</title><link>https://devzone.nordicsemi.com/thread/209801?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 11:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9401089-b7de-4b34-8911-1b456457565e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Horace&lt;/p&gt;
[quote user=""]Is there a Python 3 version of this code somewhere?[/quote]
&lt;p&gt;The sniffer software we provide is only Python 2. The sniffer has been tested with python 2.7.x.You also need pyserial 3.4, as described in the &lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrftools/struct/nrftools_nrfsniffer.html?cp=6_4"&gt;documentation&lt;/a&gt;.&lt;/p&gt;
[quote user=""]What&amp;#39;s a good approach to implement BLE sniffing with our requirements?[/quote]
&lt;p&gt;I cannot say without knowing your requirements. What do you want to do? Why can you not just use the sniffer directly? Do you want to use the sniffer as part of a product, and not just as a debug tool? If you just want to use it as a debug tool, why not just use what we supply directly? You just need to make sure that you have all the dependencies, and preferably the exact same versions that we have tested.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>