<?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 doesn&amp;#39;t detect the board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105513/nrf-sniffer-doesn-t-detect-the-board</link><description>Hi, I&amp;#39;m trying to use NRF Sniffer 4.1.1 on Ubuntu 22.04.3, using nrf52840dk, and after following instructions the NRF Sniffer doesn&amp;#39;t show up in external interfaces, and I can&amp;#39;t click on anything in the Interface field on the toolbar, these are the logs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Nov 2023 04:51:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105513/nrf-sniffer-doesn-t-detect-the-board" /><item><title>RE: NRF Sniffer doesn't detect the board</title><link>https://devzone.nordicsemi.com/thread/456577?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 04:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538f1a2c-bab3-4501-aa7e-e4d08718a41d</guid><dc:creator>roryelila</dc:creator><description>&lt;p&gt;NRF Sniffer is a useful tool for debugging Bluetooth low energy (BLE) applications by detecting packets between the selected device and the device it is communicating with, even if the link is encrypted.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://incrediboxgame.co/"&gt;incredibox&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Sniffer doesn't detect the board</title><link>https://devzone.nordicsemi.com/thread/454927?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 13:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edbc0039-af44-43db-93cf-0920d97f5f6a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for the clarifications - the steps you have taken looks correct to me.&lt;/p&gt;
[quote user="Jacek Kusmierczyk"]So It seems like the program detects the board, but closes the connection immediately. This replicated on 2 different nrf52840dk and 2 different computers[/quote]
&lt;p&gt;Perhaps there could be an issue with wireshark - which version of wireshark are you using?&lt;br /&gt;Were both of these computers Ubuntu 22.04? If so, could you possibly try this on a windows computer, or other linux distribution, to see if that could be the issue?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Sniffer doesn't detect the board</title><link>https://devzone.nordicsemi.com/thread/454910?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 12:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa72693e-d60a-4ce6-a0d4-766559c8df5a</guid><dc:creator>Jacek Kusmierczyk</dc:creator><description>&lt;p&gt;I programmed the nrf52840dk with the command &lt;code&gt;nrfjprog -f nrf52 --program sniffer_nrf52840dk_nrf52840_4.1.1.hex --verify --recover --reset&lt;/code&gt;&lt;br /&gt;I unpacked the contents of the extcap folder to the ~/.config/wireshark/extcap and downloaded dependencies using &lt;kbd class="ph userinput"&gt;python3 -m pip install -r requirements.txt&lt;/kbd&gt;&lt;/p&gt;
&lt;p&gt;this is the output of running ./nrf_sniffer_ble.sh --extcap-interfaces in ~/.config/wireshark/extcap folder&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;extcap {version=4.1.1}{display=nRF Sniffer for Bluetooth LE}{help=https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE}
control {number=0}{type=selector}{display=Device}{tooltip=Device list}
control {number=1}{type=selector}{display=Key}{tooltip=}
control {number=2}{type=string}{display=Value}{tooltip=6 digit passkey or 16 or 32 bytes encryption key in hexadecimal starting with &amp;#39;0x&amp;#39;, big endian format.If the entered key is shorter than 16 or 32 bytes, it will be zero-padded in front&amp;#39;}{validation=\b^(([0-9]{6})|(0x[0-9a-fA-F]{1,64})|([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}) (public|random))$\b}
control {number=3}{type=string}{display=Adv Hop}{default=37,38,39}{tooltip=Advertising channel hop sequence. Change the order in which the sniffer 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}
control {number=7}{type=button}{display=Clear}{tooltop=Clear or remove device from Device list}
control {number=4}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}
control {number=5}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}
control {number=6}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}
value {control=0}{value= }{display=All advertising devices}{default=true}
value {control=0}{value=[00,00,00,00,00,00,0]}{display=Follow IRK}
value {control=1}{value=0}{display=Legacy Passkey}{default=true}
value {control=1}{value=1}{display=Legacy OOB data}
value {control=1}{value=2}{display=Legacy LTK}
value {control=1}{value=3}{display=SC LTK}
value {control=1}{value=4}{display=SC Private Key}
value {control=1}{value=5}{display=IRK}
value {control=1}{value=6}{display=Add LE address}
value {control=1}{value=7}{display=Follow LE address}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I tried scrolling and it&amp;#39;s nothing more there&lt;/p&gt;
&lt;p&gt;when I unplug the nrf52840dk then these are the logs when I run Refresh Interfaces&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;09-Nov-2023 13:38:31 (+0100) INFO: Software version: 4.1.1
09-Nov-2023 13:38:31 (+0100) INFO: Started PID 71302
09-Nov-2023 13:38:31 (+0100) INFO: Namespace(capture=False, extcap_interfaces=True, extcap_interface=None, extcap_dlts=False, extcap_config=False, extcap_capture_filter=None, fifo=None, extcap_control_in=None, extcap_control_out=None, extcap_version=&amp;#39;4.0&amp;#39;, device=&amp;#39;&amp;#39;, baudrate=None, only_advertising=False, only_legacy_advertising=False, scan_follow_rsp=False, scan_follow_aux=False, coded=False)
09-Nov-2023 13:38:31 (+0100) INFO: Exiting PID 71302&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So It seems like the program detects the board, but closes the connection immediately. This replicated on 2 different nrf52840dk and 2 different computers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Sniffer doesn't detect the board</title><link>https://devzone.nordicsemi.com/thread/454843?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 08:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de4f7d73-0b31-4ef0-af52-83ead194d438</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Which &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;step of the setup are you on&lt;/a&gt;?&lt;br /&gt;Have you successfully programmed the device with the appropriate sniffer .hex?&lt;br /&gt;&lt;br /&gt;Please also make sure that &amp;#39;scroll down&amp;#39; inside the external interfaces list in wireshark - the UI is a little bad her, so sometimes some instances will be hidden on the bottom without indicating that you can scroll down to it.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>