<?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>nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69224/nrf52840-dongle-as-nrf-sniffer</link><description>Hi, 
 
 I am very happy that we will be able to use the nRF52840 DONGLE as a sniffer with the new update. I thank to Nordic team. This was something I was waiting for. 
 
 However, I am having a problem while configuring the device. I try to load both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Jun 2021 23:50:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69224/nrf52840-dongle-as-nrf-sniffer" /><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/316830?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 23:50:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce480ac4-e73b-4ab4-bcd4-7da880d2db6d</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;Py launcher does seem to be a problem:&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;(env) C:\Program Files\Wireshark\extcap&amp;gt;py -3&lt;br /&gt;Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32&lt;br /&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; import serial&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;&amp;lt;stdin&amp;gt;&amp;quot;, line 1, in &amp;lt;module&amp;gt;&lt;br /&gt;ModuleNotFoundError: No module named &amp;#39;serial&amp;#39;&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; exit()&lt;br /&gt;&lt;br /&gt;(env) C:\Program Files\Wireshark\extcap&amp;gt;python&lt;br /&gt;Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32&lt;br /&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; import serial&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; exit()&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286708?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 13:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1356cdd6-d869-483a-8a5e-5f43b70bc591</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;That could be the reason. Are you able to modify the batch script so that it doesn&amp;#39;t use the py launcher, but always call python &amp;quot;%NRF_SNIFFER_BLE_PATH%\nrf_sniffer_ble.py&amp;quot; instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286707?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 13:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9219a1a7-66a1-44ec-a24d-a118f0b34a05</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;I could not find any folders called &amp;quot;env&amp;quot;. However, this is a shared computer in the office and Spyder-Anaconda is used on this machine as Python IDE.&amp;nbsp; Could this be problem?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286692?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 12:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc76f5e-cfd3-4172-9a99-451508534171</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you. So it does work when you invoke it directly. do you have a python virtual environment set up in this directory (i.e. do you have a older named &amp;quot;env&amp;quot;)? In that case, please try to delete it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286683?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 11:03:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e80b26fc-413f-439b-97b0-ca0d45c430f1</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Thanks for your patient support Vidar. Please find it below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/sniffer-error-6.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286643?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 07:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e98d75f-cdbf-4bb6-8fb9-51246859a57a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to run &amp;quot;python &amp;quot;C:\Program Files\Wireshark\extcap\nrf_sniffer_ble.py&amp;quot; --extcap-interfaces&amp;quot; directly. I can&amp;#39;t tell if this command is being issued by the batch script or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286480?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 14:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:095b3faf-b988-4729-bad9-7438bbeed67c</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;This is what I get with echo ON&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/sniffer-error-5.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286476?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cded62eb-190b-4a88-9917-dda2e0ba8be8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Den,&lt;/p&gt;
&lt;p&gt;This is strange, I&amp;#39;m not really sure what the issue is. Can you try to set &amp;quot;echo&amp;quot; to on in nrf_sniffer_ble.bat to see how the script is invoked?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;@echo on
rem Path to this batch file
set NRF_SNIFFER_BLE_PATH=%~dp0
rem Remove the &amp;quot;\&amp;quot; from the end of the path
set NRF_SNIFFER_BLE_PATH=%NRF_SNIFFER_BLE_PATH:~0,-1%
rem Activate virtualenv if present
if exist &amp;quot;%NRF_SNIFFER_BLE_PATH%\env\Scripts\activate.bat&amp;quot; call &amp;quot;%NRF_SNIFFER_BLE_PATH%\env\Scripts\activate.bat&amp;quot;
rem Find out if the launcher is installed and available
where py &amp;gt; NUL 2&amp;gt;&amp;amp;1 
if %ERRORLEVEL% EQU 0 (
    py -3 &amp;quot;%NRF_SNIFFER_BLE_PATH%\nrf_sniffer_ble.py&amp;quot; %*
) else (
    python &amp;quot;%NRF_SNIFFER_BLE_PATH%\nrf_sniffer_ble.py&amp;quot; %*
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286467?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d23b59-2ca8-425a-9ee9-c85ab0a337fe</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I do not think the problem is about pyserial. It seems to be working fine. I have the sniffer dongle on port 21 and the serial module finds it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/sniffer-error-4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;what else could it be?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286455?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 12:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ea29fff-38ce-4739-95d7-0da86fa53f27</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;I have tried&amp;nbsp;&lt;span&gt;&amp;quot;pip install --user pyserial&amp;quot;&amp;nbsp; command and it said that Requirement already satisfied.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do I have to include something in the path? Python37 and&amp;nbsp;Python37/scripts are already in my user variables. Do I need to include something regarding pyserial specifically?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Den&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286452?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 12:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9d843d6-27c8-47a8-96ec-824fc8e5113a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Den,&lt;/p&gt;
&lt;p&gt;Thanks for confirming. Could try to install pyserial with the &amp;quot;--user&amp;quot; option? Like this: pip install --user pyserial.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/286450?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 12:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de6343e5-33f2-4370-b358-36ee13a9bed2</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s been a while, I did not have time to work on solving the problem. Now I am back on. When I check the location of the python, I have only one executable as below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/sniffer-error-3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Den&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/284392?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 16:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2873c891-895d-4b13-bc71-fec89e3d29dc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Den,&lt;/p&gt;
&lt;p&gt;Hm, looks like the pyserial package is installed correctly. Are you sure you don&amp;#39;t have more than one python installation on your system. Maybe you could you try to run &amp;#39;where python&amp;#39; to see if it returns the path to several python executables or not?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0815.pastedimage1607618286046v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When I run the batch script:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3157.pastedimage1607618307337v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/284097?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 14:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:305d1a85-16f6-41ae-8f18-63fd8b921ce9</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I spent some time trying to solve it but I had no success. It seems that pyserial has been installed but I could not find what&amp;#39;s wrong. Do you have any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Den&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/sniffer-error-2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/283887?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 16:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f27f1682-e882-4dff-9586-d1469a6a9026</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Den,&lt;/p&gt;
&lt;p&gt;Please run &lt;span&gt;&lt;kbd&gt;pip3 install -r requirements.txt&lt;/kbd&gt;&lt;/span&gt; from the extcap directory. Looks like the &amp;quot;serial&amp;quot; module has not been installed for this python installation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/283871?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 15:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51c20314-6c6a-4d17-b2c5-75387c7a622b</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to install the sniffer and this is what I get. I used to have Python 2.7 but I removed that. Python version is verified however I could not get rid this error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/sniffer-error.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can you please help me with this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Den&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/283782?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 11:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a5ab1ca-ed16-449c-9136-4f0ffc999215</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Ok thanks very much. Will let you know soon &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/283774?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 11:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f531c5b1-5708-4396-87e2-559557cf60c2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Den,&lt;/p&gt;
&lt;p&gt;For me it starts to blink after I open wireshark. Not sure if it&amp;#39;s indicating serial communication or BT packet traffic.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/283768?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 10:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:162002db-2070-47cb-ba3d-df33a7c6ab52</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for the quick response. I should have missed that fact in the guide. The hex is now loaded to the device. I think I will have to update WireShark before I give it a go. However before that, does the DONGLE need to blink when the hex is loaded? It does not turn on any LEDs. How can I make sure of things?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Den&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DONGLE as nRF Sniffer</title><link>https://devzone.nordicsemi.com/thread/283751?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 10:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b682cf3d-9dc6-419b-aa5a-96dabe3e3f48</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Den,&lt;/p&gt;
&lt;p&gt;Glad to hear that:) I&amp;#39;ve also been waiting for this update. As for the programming problem, the &amp;#39;sniffer_nrf52840dongle_nrf52840_7cc811f.hex&amp;#39; contains the full FW image, so there is no need to program the Softdevice separately. Please try to program just this file, and let me know if it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>