<?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>Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75890/unable-to-capture-ble-packets-using-nrf52840-dongle-in-wireshark</link><description>Hi, 
 
 My problem is that I can&amp;#39;t sniff any advertising packet using Wireshark. 
 I have well followed the detailed procedure https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_sniffer_ble%2FUG%2Fsniffer_ble%2Fintro.html 
 The setup: 
 
 Linux Ubuntu</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Jun 2021 10:15:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75890/unable-to-capture-ble-packets-using-nrf52840-dongle-in-wireshark" /><item><title>RE: Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/thread/313346?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 10:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e231928e-a62c-4a10-94f9-7a9b4e5f7aae</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Thanks for updating, glad you figured it out.&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/thread/313317?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 08:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f4ea39-0cbd-4992-9e14-6802a0e6ac4c</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I have solved the problem by upgrading wireshark to the latest version.&lt;/p&gt;
&lt;p&gt;Now it is working with&amp;nbsp;nrf_sniffer_for_bluetooth_le_3.1.0_7cc811f and wireshark 3.4.2.&lt;/p&gt;
&lt;p&gt;Thanks for your time, you can close the topic.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/thread/313304?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 08:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d2b0a7e-13f3-44b5-a0df-aa8d706816f6</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Can you provide a screenshot of Wireshark app.&amp;nbsp; and a basic question to get it out of the way, are you sending any BLE packets ?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/thread/313191?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 16:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf37047-01ef-4cf0-aa8b-8345a1203604</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I have also tried to run the python script in command line (both as root and simple user):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ python nrf_sniffer_ble.py --capture  --extcap-interface /dev/ttyACM0 --fifo /tmp/wireshark_extcap_-dev-ttyACM0_20210602174315_hpRj0k --extcap-control-out /tmp/wireshark_control_ext_to_ws_-dev-ttyACM0_20210602174315_XPBNJb --extcap-control-in /tmp/wireshark_control_ws_to_ext_-dev-ttyACM0_20210602174315_JUy3mL
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I could not see any log output and the file generated in /tmp empty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/thread/313188?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 15:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6956ba20-19c4-4526-94f9-0640dd3f536c</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Hello Johathan,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Unfortunately it did not solve the problem. What I have done is add my $USER to dialout group:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ groups $USER
thomas : **** dialout sudo **** **** wireshark
$ ls -l /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 juin   2 17:22 /dev/ttyACM0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This way, my $USER running wireshark has access to dialout group which correspond with /dev/ttyACM0.&lt;/p&gt;
&lt;p&gt;I notice when that the nRF52840 LED on the dongle starts blinking when wireshark is launched, is it a normal behaviour?&lt;/p&gt;
&lt;p&gt;Also on the wireshark interface it says at the bottom left: &amp;quot;nRF Sniffer for Bluetooth LE:/dev/ttyACM0: &amp;lt;live capture in progress&amp;gt;&amp;quot; and in the bottom &amp;quot;No Packets&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to capture BLE packets using nrf52840 dongle in Wireshark</title><link>https://devzone.nordicsemi.com/thread/313167?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 14:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4c754eb-e089-4617-8777-ae4f0172cc8b</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;This might be the issue:&lt;br /&gt;Ubuntu dont have seriell accessible by default,&amp;nbsp;&lt;a href="https://askubuntu.com/questions/1219498/could-not-open-port-dev-ttyacm0-error-after-every-restart"&gt;permissions - Could not open port /dev/ttyACM0 Error after every restart - Ask Ubuntu&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>