<?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>nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64832/nrf-sniffer-option-not-available-in-wireshark-for-mac</link><description>I am trying to capture sniffer logs for a custom BLE peripheral using nRF51 dongle and Wireshark. I am following this guide here to install the Sniffer tool in Wireshark. 
 I have programmed my nRF51 dongle using the Programmer app in nRF Connect app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Aug 2020 17:48:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64832/nrf-sniffer-option-not-available-in-wireshark-for-mac" /><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/266586?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 17:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7730550-b335-4fbf-9c63-6b219085a17f</guid><dc:creator>SarthakJ</dc:creator><description>&lt;p&gt;Yes. I am okay being on that version for now. Thank you for helping me out!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/266577?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 16:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68594bef-a230-4347-9633-416a0acb3b6c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for reporting back. I&amp;#39;m glad to hear that it works now! It&amp;#39;s hard to say what fixed it, but I assume you&amp;#39;re ok with using Wireshark v3.0.7 for now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/266569?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 15:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f43403a1-ce62-4f19-a281-a907f80886e6</guid><dc:creator>SarthakJ</dc:creator><description>&lt;p&gt;I have attached my system configuration below.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2020_2D00_08_2D00_26-at-11.17.33-AM.png"&gt;https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2020_2D00_08_2D00_26-at-11.17.33-AM.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I downgraded my Wireshark to v3.0.7 and I went through all the steps mentioned in the how-to and it actually worked! I see the packets being displayed on my screen. Screenshot below&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2020_2D00_08_2D00_26-at-11.47.31-AM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/266566?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 15:16:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c02c162-9126-45ef-8c01-f64d094e010c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m having problems with replicating the issue here, unfortunately. I re-installed the nRF sniffer with Wireshark v.3.2.6 on my mac which is currently running Catalina v.10.15.5. Are you using an older or newer version of macOS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/266051?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 15:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a9ba2ea-9aa4-4835-9357-1d0431b2bad9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The issue didn&amp;#39;t really make sense to the developer either. I will upgrade to the latest version of Wireshark and see if I can reproduce the problem locally. In the meantime, maybe you can try downgrading to Wireshark v3.0.7 which I&amp;#39;m currently using on my working setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/265803?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 14:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd6107a-7303-49ef-b390-b9cc73d09ca4</guid><dc:creator>SarthakJ</dc:creator><description>&lt;p&gt;Okay. Sounds good. I&amp;#39;ll wait for the response from you and in the mean time please feel to let me know if you need anything else from my side to expedite the&amp;nbsp;process&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/265802?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 14:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e9644c-8f53-4fde-b3de-0b271f65c2d7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It&amp;#39;s probably not a communication issue then. However, the last error you got is interesting, and I think it might be an important clue. As I understand it, the nrf_ble_sniffer.py must be executed by Wireshark on startup for the nRF sniffer interface to even be detected, &lt;span&gt;so it seems strange to me that it&amp;#39;s suddenly not found when you try to abort the capture afterward. I will have to contact one of the developers on Monday to get some input on this. Sorry for the inconvenience.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/265415?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2020 20:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec403e6-6bc5-496e-9413-a6e43f8c3fd7</guid><dc:creator>SarthakJ</dc:creator><description>&lt;p&gt;I downloaded the latest SEGGER J-Link from that link above and reprogrammed my nRF51 dongle with the appropriate HEX file. I then tried to capture packets but nothing showed up on my screen. I had both the central and peripheral advertising and then connecting in the background&lt;/p&gt;
&lt;p&gt;I then tried to disable USB mass storage as seen from the logs below:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Last login: Wed Aug 19 16:03:27 on ttys000
sarthajagetia@Sarthaks-Mac-Book ~ % /Applications/SEGGER/JLink_V682d/JLinkExe ; exit;
SEGGER J-Link Commander V6.82d (Compiled Aug 13 2020 17:15:10)
DLL version V6.82d, compiled Aug 13 2020 17:14:54

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
Hardware version: V1.00
S/N: 680453365
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.300V


Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help
J-Link&amp;gt;MSDDisable
Probe configured successfully.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then I relaunched the Wireshark application and still nothing showed up on my screen.&amp;nbsp;&lt;br /&gt;Are there any logs that I can grab and provide you which can help in debugging this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure if this is related but if I press the &amp;quot;red&amp;quot; Stop Capturing Packets button it throws me file not found error.&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2020_2D00_08_2D00_19-at-4.18.00-PM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/264811?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 09:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9adc828-04a4-45b2-926b-2fb0d70b9538</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, this is good progress. Did you try to update the SEGGER J-link SW as suggested in &amp;#39;&lt;span&gt;&lt;a title="Troubleshooting" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/troubleshooting.html?cp=8_4_5"&gt;Troubleshooting&lt;/a&gt;&lt;/span&gt;&amp;#39;? I would also suggest you try disabling the USB mass storage class as explained here in the NCS documentation: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/zephyr/guides/tools/nordic_segger.html#disabling-the-mass-storage-device-functionality"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/zephyr/guides/tools/nordic_segger.html#disabling-the-mass-storage-device-functionality.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/264668?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 17:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82d05763-b7e5-456d-9897-9f9b5a9b0467</guid><dc:creator>SarthakJ</dc:creator><description>&lt;p&gt;I feel this is progress. I installed the pyserial for python 3 and now I am able to view the interface and an option to select the nRF sniffer but the sniffer does not populate anything on the wireshark whatsoever. I have verified that the configuration is indeed proper i.e. my nRF51 dongle is between the central (phone) and the BLE peripheral and the peripheral is advertising and I also successfully connected to it in my device. But there were no packets displayed in Wireshark. Am I doing something wrong here?&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2020_2D00_08_2D00_14-at-1.47.18-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have added a screenshot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/264666?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 17:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0453943-0e24-4fb7-b861-a03e9f4c13f6</guid><dc:creator>SarthakJ</dc:creator><description>&lt;p&gt;Running the command&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;span&gt;&lt;em&gt;python3 nrf_sniffer_ble.py --extcap-interfaces&lt;/em&gt; did not produce any errors on my laptop.&amp;nbsp;&lt;br /&gt;I am guessing its the issue of multiple installation of python&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer option not available in Wireshark for Mac</title><link>https://devzone.nordicsemi.com/thread/264665?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2020 13:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b13e1c45-a467-448f-a292-229f0f0179e1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you have one or multiple installations of Python 3, and are you sure the PyPi packages were installed to the same Python installation invoked by Wireshark? I&amp;#39;m wondering if you might be running into the problem I described in my answer here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56137/nrf-sniffer-v3-0-0-on-mac-os-does-not-work/227839#227839"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/56137/nrf-sniffer-v3-0-0-on-mac-os-does-not-work/227839#227839&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;python nrf_sniffer_ble.py --extcap-interfaces&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I got this error:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks like &amp;#39;python&amp;#39; is pointing to python 2.7.x on your system. Try&amp;nbsp; &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;python3 nrf_sniffer_ble.py --extcap-interfaces&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>