<?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>Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63583/wireshark-cannot-find-interface-to-nrf51-dongle</link><description>I have used an nRF 51 dongle for capturing BLE packets on my Mac using Wireshark,, but it no longer works. The only system change that I can recall that might affect this is that I recently upgraded to Mac OSX Catalina Version 10.15.5, which was an incremental</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Jul 2020 18:32:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63583/wireshark-cannot-find-interface-to-nrf51-dongle" /><item><title>RE: Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/thread/259526?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 18:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d36959b-86af-4903-80a2-d5e40689c527</guid><dc:creator>edw</dc:creator><description>&lt;p&gt;We can close this case now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I decided to erase and re-flash the dongle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This allowed everything to work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for your help !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/thread/259522?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 17:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1896ab7-7d6f-4d9c-be86-d43c67f63dbd</guid><dc:creator>edw</dc:creator><description>&lt;p&gt;I have looked into nrf_sniffer_ble.py and determined that&amp;nbsp; UART.find_sniffer&amp;nbsp; returns an empty list.&lt;br /&gt;reader.decodeFromSLIP(0.3, complete_timeout=0.3)&amp;nbsp; always times out.&lt;br /&gt;I uncommented these lines in UART.readByte&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logging.info(&amp;#39;rbtype: {}&amp;#39;.format(r.__class__))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logging.info(&amp;#39;r: {}&amp;#39;.format(r))&lt;br /&gt;and set the logger level to logging.INFO&lt;br /&gt;to see if it was seeing any values on the interface.&lt;br /&gt;&lt;br /&gt;There is something there, but it never finds&amp;nbsp; a SLIP_START.&lt;br /&gt;Here is the output from such a trial.&lt;br /&gt;I removed all the lines &amp;quot;rbtype: &amp;lt;class &amp;#39;int&amp;#39;&amp;gt;&amp;quot; to shorten this list.&lt;br /&gt;Does this provide any useful information ?&lt;br /&gt;&lt;br /&gt;% ./nrf_sniffer_ble.sh --extcap-interfaces&lt;br /&gt;Started PID 836&lt;br /&gt;Namespace(baudrate=None, capture=False, device=&amp;#39;&amp;#39;, extcap_capture_filter=None, extcap_config=False, extcap_control_in=None, extcap_control_out=None, extcap_dlts=False, extcap_interface=None, extcap_interfaces=True, fifo=None, only_advertising=False)&lt;br /&gt;extcap {version=3.0.0}{display=nRF Sniffer for Bluetooth LE}{help=www.nordicsemi.com/.../nRF-Sniffer-for-Bluetooth-LE}&lt;br /&gt;Opening serial port /dev/cu.Bluetooth-Incoming-Port&lt;br /&gt;rbtype: &amp;lt;class &amp;#39;NoneType&amp;#39;&amp;gt;&lt;br /&gt;r: None&lt;br /&gt;closing UART&lt;br /&gt;Opening serial port /dev/cu.Bluetooth-Incoming-Port&lt;br /&gt;rbtype: &amp;lt;class &amp;#39;NoneType&amp;#39;&amp;gt;&lt;br /&gt;r: None&lt;br /&gt;closing UART&lt;br /&gt;Opening serial port /dev/cu.usbmodem0006801572801&lt;br /&gt;r: 192&lt;br /&gt;r: 0&lt;br /&gt;r: 47&lt;br /&gt;r: 0&lt;br /&gt;r: 209&lt;br /&gt;r: 1&lt;br /&gt;r: 126&lt;br /&gt;r: 192&lt;br /&gt;r: 192&lt;br /&gt;r: 0&lt;br /&gt;r: 47&lt;br /&gt;r: 0&lt;br /&gt;r: 209&lt;br /&gt;r: 1&lt;br /&gt;r: 126&lt;br /&gt;r: 192&lt;br /&gt;r: 192&lt;br /&gt;closing UART&lt;br /&gt;Opening serial port /dev/cu.usbmodem0006801572801&lt;br /&gt;r: 252&lt;br /&gt;r: 248&lt;br /&gt;r: 249&lt;br /&gt;r: 248&lt;br /&gt;r: 254&lt;br /&gt;r: 248&lt;br /&gt;r: 255&lt;br /&gt;r: 252&lt;br /&gt;r: 252&lt;br /&gt;closing UART&lt;br /&gt;control {number=0}{type=selector}{display=Device}{tooltip=Device list}&lt;br /&gt;control {number=1}{type=string}{display=Passkey / OOB key}{tooltip=6 digit temporary key or 16 byte Out-of-band (OOB) key in hexadecimal starting with &amp;#39;0x&amp;#39;, big endian format. If the entered key is shorter than 16 bytes, it will be zero-padded in front&amp;#39;}{validation=\b^(([0-9]{6})|(0x[0-9a-fA-F]{1,32}))$\b}&lt;br /&gt;control {number=2}{type=string}{display=Adv Hop}{default=37,38,39}{tooltip=Advertising channel hop sequence. Change the order in which the siffer switches advertising channels. Valid channels are 37, 38 and 39 separated by comma.}{validation=^\s*((37|38|39)\s*,\s*){0,2}(37|38|39){1}\s*$}{required=true}&lt;br /&gt;control {number=3}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}&lt;br /&gt;control {number=4}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}&lt;br /&gt;control {number=5}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}&lt;br /&gt;value {control=0}{value= }{display=All advertising devices}{default=true}&lt;br /&gt;Exiting PID 836&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/thread/259521?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 17:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff92be4a-fbb3-41fc-8276-f2494164d8dc</guid><dc:creator>edw</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry I was not clear.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The nrf_sniffer_ble&amp;nbsp; still does NOT work for me.&lt;/p&gt;
&lt;p&gt;I mentioned that the Bluetooth Low Energy app does work for me, because I thought that might provide&lt;/p&gt;
&lt;p&gt;some confirmation that the appropriate hex file had been flashed to the dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/thread/259519?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 16:50:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc3fdcb-c2e6-483e-b137-00d5c4e08189</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It is not the same application. The Bluetooth Low Energy app is an application that takes serial commands from the computer, and scans for and connects to a device, pretty much like the examples in the SDK. Then it reports events and changes in characteristics back to the computer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The Sniffer application is not using the softdevice, like the SDK does. It is a custom FW that will scan for advertisement packets on channel 37. When it receives this, it switches to 38 and tries to catch that same packet on that channel, and then on channel 39. It is possible to tell the sniffer FW (via serial from computer) to follow a specific device. If so, it will filter out anything that is not related to that device. It will also follow that device into a connection. Just picking up the connection request, and the channel map, and continue to sniff the packets from both the peripheral an central in that connection. This is not at all possible using the Softdevice that is used in nRF Connect -&amp;gt; Bluetooth Low energy. The sniffer is not capable of connecting to a device on it&amp;#39;s own. Only follow a device into a connection. The sniffer will never transmit a packet. Only listen, and dump the relevant data over serial.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So does this mean that the sniffer is working, or did I misunderstand?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/thread/259514?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 16:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:714457b6-fddc-4757-8f6a-f6bdfe660eb2</guid><dc:creator>edw</dc:creator><description>&lt;p&gt;Yes.&amp;nbsp; I used &lt;span&gt;sniffer_pca10031_129d2b3.hex&lt;/span&gt; after checking the sticker on the dongle.&lt;/p&gt;
&lt;p&gt;How does Bluetooth Low Energy app interact with the dongle?&amp;nbsp; As I mentioned, I am able to use it successfully with the dongle.&lt;/p&gt;
&lt;p&gt;I expected that it used the same code on the dongle as what is used for the Wireshark&amp;nbsp; interface.&amp;nbsp; Is this true?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark cannot find interface to nRF51 dongle</title><link>https://devzone.nordicsemi.com/thread/259489?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 14:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:117dbda3-0823-4fa7-9ed6-2f4ae0818b56</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you flash the dongle with the appropriate FW? The .hex file you can use should be found in the nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3\hex.&lt;/p&gt;
&lt;p&gt;Depending on what version of the dongle you have, it would be either the &lt;span&gt;sniffer_pca10031_129d2b3.hex&lt;/span&gt; or the&amp;nbsp;&lt;span&gt;sniffer_pca10000_129d2b3.hex. There should be a white sticker saying either pca10031 or pca10000 on the dongle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>