<?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&amp;nbsp;: no ble packets captured</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69154/nrf-sniffer-no-ble-packets-captured</link><description>Dear All, 
 Hardware : 
 
 
 nrf52840 dongle 
 
 
 firmware : 3.1.0 
 
 
 Software: 
 
 
 wireshark 2.6.8 
 
 
 python : 3.7.3 
 
 
 pyserial : 3.5 
 
 
 Jlink : 6.88a 
 
 
 OS : debian buster 10 
 
 
 kernel : 4.19.0-12-amd64 
 
 
 I have installed all</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 06 Dec 2020 21:28:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69154/nrf-sniffer-no-ble-packets-captured" /><item><title>RE: nrf sniffer : no ble packets captured</title><link>https://devzone.nordicsemi.com/thread/283434?ContentTypeID=1</link><pubDate>Sun, 06 Dec 2020 21:28:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ddf7534-7a08-44c9-870b-4db22ef67f9b</guid><dc:creator>fezai.fethi</dc:creator><description>&lt;p lang="en-US"&gt;So after many tries, I have just succeeded.&lt;/p&gt;
&lt;p lang="en-US"&gt;I do not have any explanation but it works.&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-US"&gt;I have noticed that if I call many time the nrf_sniffer_ble.sh script, the output will not be the same:&lt;/span&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;First time&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;./nrf_sniffer_ble.sh --extcap-interfaces &lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;extcap {version=3.1.0}{display=nRF Sniffer for Bluetooth LE}{help=www.nordicsemi.com/.../nRF-Sniffer-for-Bluetooth-LE}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;i&lt;span style="background-color:#00ff00;"&gt;nterface {value=/dev/ttyACM0}{display=nRF Sniffer for Bluetooth LE}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=0}{type=selector}{display=Device}{tooltip=Device list}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&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;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&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;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=3}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=4}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=5}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;value {control=0}{value= }{display=All advertising devices}{default=true}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;Second Time:&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;./nrf_sniffer_ble.sh --extcap-interfaces &lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;extcap {version=3.1.0}{display=nRF Sniffer for Bluetooth LE}{help=www.nordicsemi.com/.../nRF-Sniffer-for-Bluetooth-LE}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=0}{type=selector}{display=Device}{tooltip=Device list}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&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;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&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;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=3}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=4}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;control {number=5}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;i&gt;value {control=0}{value= }{display=All advertising devices}{default=true}&lt;/i&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;span style="color:#ff0000;"&gt;The interface is missing.&lt;/span&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;If I am not wrong, at first, wireshark calls the script to get the interface, and if we want to capture packets it will call another time the same script with different parameters.&lt;/p&gt;
&lt;p lang="en-US"&gt;The workaround is simple, after wireshark indentifies the inferface, I disconnect the Dongle and start capturing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf sniffer : no ble packets captured</title><link>https://devzone.nordicsemi.com/thread/283432?ContentTypeID=1</link><pubDate>Sun, 06 Dec 2020 19:26:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e568c271-594e-4fa5-8ffc-95e2227affd0</guid><dc:creator>fezai.fethi</dc:creator><description>&lt;p&gt;Hi Dmitry,&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;Thank you for your prompt reply.&lt;/p&gt;
&lt;p lang="en-US"&gt;&lt;/p&gt;
&lt;p lang="en-US"&gt;I have installed a newer version of wireshark 3.2.8-0.1 from Debian testing.&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-US"&gt;I still can&amp;rsquo;t capture BLE Packets but the message from wireshark is not the same anymore&amp;nbsp;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-US"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1607282410797v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;span lang="en-US"&gt;Output from the Terminal&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align="left" lang="en-US"&gt;&lt;i&gt;Main Warn 0 duplicates of &amp;quot;nRF Sniffer for Bluetooth LE could not find interface: /dev/ttyACM0&amp;quot; were suppressed&lt;/i&gt;&lt;/p&gt;
&lt;p align="left" lang="en-US"&gt;&lt;/p&gt;
&lt;p align="left" lang="en-US"&gt;As you can see, I am a member of these groups :&lt;/p&gt;
&lt;p align="left" lang="en-US"&gt;&lt;i&gt;groups $USER &lt;/i&gt;&lt;/p&gt;
&lt;p align="left"&gt;&lt;span lang="en-US"&gt;&lt;i&gt;##### : #### root &lt;span style="background-color:#00ff00;"&gt;dialout&lt;/span&gt; cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner docker &lt;span style="background-color:#00ff00;"&gt;wireshark&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align="left"&gt;&lt;span lang="en-US"&gt;&lt;i&gt;&lt;span style="background-color:#00ff00;"&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf sniffer : no ble packets captured</title><link>https://devzone.nordicsemi.com/thread/283427?ContentTypeID=1</link><pubDate>Sun, 06 Dec 2020 17:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f78b7a6-da98-4f81-85e5-005c3a0431c1</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;try to update wireshark to more recent version (for me, the dongle works fine with wireshark 3.2.3 on Ubuntu 20.04)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>