<?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 does not show connection packets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83385/nrf-sniffer-does-not-show-connection-packets</link><description>Hello, 
 I try to debug a BLE connection with the nRF Sniffer. As a test, I used one nRF52 DK (PCA10040) as peripheral using nRF Connect and and Android phone as central device (running the nRF Android Connect app). They are able to connect to each other</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jan 2022 11:32:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83385/nrf-sniffer-does-not-show-connection-packets" /><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346679?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 11:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8465042-54ed-44b8-85a4-4c7fb33790d8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Good to know find the issue. Happy to help. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346673?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 11:19:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c069a58c-bd5b-4beb-a9cc-f57a9f8111a4</guid><dc:creator>jby</dc:creator><description>&lt;p&gt;I finally found the issue, it seems a wrong J-LINK firmware version was installed on the nRF52 DK used as sniffer. I flashed it with version V6.88a and now it works! With V7.60b and V7.22 it doesn&amp;#39;t seem to work. Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346643?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 09:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e7f52c4-6e53-458d-829e-3967d37cdfd2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Do you also try the versions of Wireshark?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I cannot reproduce the issue with nRF sniffer v4.1.0 on nRF52DK and Wireshark Version 3.6.0 (v3.6.0-0-g3a34e44d02c9) on Windows, and running BLE Blinky on nRF52840DK connecting to nRF Connect app.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346531?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 15:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4c42114-e272-4914-8d1c-5810dbda0300</guid><dc:creator>jby</dc:creator><description>&lt;p&gt;I tested it on the Windows 10 PC with nRF sniffer 4.1.0, but wireshark does still not show the connection packets. Can you think of anything that could be reason for this problem? Is there a way to debug what happens on the nRF52 sniffer itself? Maybe it does not capture the connection packets correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346519?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 14:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e797954-326b-401c-9b05-764ef5b26126</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Sounds so strange. Are you able to test with another PC/Windows and &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE/Download?lang=en#infotabs"&gt;nRF sniffer 4.1.0&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346402?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 10:12:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03feb21-8544-48a0-8dab-e5da09eb45cf</guid><dc:creator>jby</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/83385/nrf-sniffer-does-not-show-connection-packets/346361#346361"]Seems you already &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_connection.html"&gt;selected the advertising device in the device field before connecting &lt;/a&gt;to the&amp;nbsp;&lt;span&gt;Android phone as the central device. Is it right?&lt;/span&gt;[/quote]
&lt;p&gt;Yes, I select the advertising device in the drop down list before connecting. &lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/83385/nrf-sniffer-does-not-show-connection-packets/346361#346361"]What is the application? Does it use any&amp;nbsp;&lt;a title="Sniffing the pairing procedure of a connection" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_paired.html?cp=10_5_5_3"&gt;pairing procedure of a connection&lt;/a&gt;? Is the&amp;nbsp;peripheral&amp;nbsp;device still running while connecting? Does the device log have any errors?&amp;nbsp;[/quote]
&lt;p&gt;The original test was just using nRF connect, where the peripheral sends advertisements without any custom service. I could see in nRF connect that the Android phone successfully connects with the nRF52 DK acting as peripheral.&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/83385/nrf-sniffer-does-not-show-connection-packets/346361#346361"]&lt;span&gt;Are you able to test with the example as&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_blinky.html"&gt;BLE Blinky Application&lt;/a&gt;? Does it also have the same issue?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;I flashed the BLE blinky application on the nRF52 DK acting as peripheral. For the central device, I downloaded the nRF Blinky appilcation on the Android Play store. The application works successfully, it correctly toggles the LED on the nRF52. However, I still cannot capture the connection with the other nRF52 DK acting as BLE sniffer. I added the new packet log in attachment. Please find below log file of the BLE sniffer:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;INFO: Log started at Thu Jan 6 11:03:16 2022&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Extcap version 3.4&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Opening serial port /dev/cu.usbmodem0006820402261&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: closing UART&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Opening serial port /dev/cu.usbmodem0006820402261&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: args: ()&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: kwargs: {&amp;#39;callbacks&amp;#39;: [('*', &amp;lt;bound method Notifier.passOnNotification of &amp;lt;Sniffer(Thread-3, initial)&amp;gt;&amp;gt;)]}&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: board ID (random): 161&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Sniffer created&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Software version: 4.0.0&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: sniffer started&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: starting scan&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Scan flags: 0b11&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Sent TK to sniffer: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: scanning started&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: defaults written&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: control loop&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: gap in packets, between 784 and 957 packet before: [55, 0, 3, 16, 3, 2, 10, 1, 38, 47, 0, 0, 177, 18, 151, 0, 214, 190, 137, 142, 66, 36, 196, 218, 125, 92, 87, 13, 29, 255, 6, 0, 1, 9, 33, 10, 5, 218, 151, 96, 164, 176, 76, 65, 80, 84, 79, 80, 45, 68, 82, 65, 71, 79, 78, 70, 76, 89, 87, 173, 215] packet after: [53, 0, 3, 189, 3, 2, 10, 1, 37, 59, 0, 0, 246, 99, 180, 0, 214, 190, 137, 142, 2, 34, 39, 180, 148, 46, 4, 248, 27, 255, 117, 0, 66, 4, 1, 128, 174, 248, 4, 46, 148, 180, 39, 250, 4, 46, 148, 180, 38, 1, 0, 0, 0, 0, 0, 0, 183, 157, 49]&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: gap in packets, between 961 and 4158 packet before: [53, 0, 3, 193, 3, 2, 10, 1, 38, 56, 0, 0, 195, 156, 180, 0, 214, 190, 137, 142, 70, 34, 135, 199, 232, 87, 220, 88, 3, 3, 111, 253, 23, 22, 111, 253, 66, 246, 27, 5, 63, 239, 61, 1, 69, 165, 110, 168, 165, 222, 191, 240, 160, 141, 21, 136, 43, 29, 106] packet after: [0, 0, 3, 62, 16, 14]&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Firmware timestamp 49306699 reference: Jan 06 2022 11:03:17.51584 CET&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: follow_device: [b'251', b' 192', b' 183', b' 169', b' 201', b' 216', b' 1']&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Sniffing device 9 - &amp;quot;&amp;quot;&amp;quot;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Follow flags: 0b0&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;INFO: Following fb:c0:b7:a9:c9:d8 random&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;BTW, I also tested the same setup (Wireshark 3.4.7 and nRF sniffer 4.0.0) on Windows 10 without any success.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/packet_5F00_log_5F00_ble_5F00_blinky_5F00_application.pcapng"&gt;devzone.nordicsemi.com/.../packet_5F00_log_5F00_ble_5F00_blinky_5F00_application.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF sniffer does not show connection packets</title><link>https://devzone.nordicsemi.com/thread/346361?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 08:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:641de261-317f-4db7-83c1-e0726612c3ea</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]I did select the specific peripheral device that I use for the connection, but still it is not showing the connection packets.[/quote]
&lt;p&gt;Seems you already &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_connection.html"&gt;selected the advertising device in the device field before connecting &lt;/a&gt;to the&amp;nbsp;&lt;span&gt;Android phone as the central device. Is it right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is the application? Does it use any&amp;nbsp;&lt;a title="Sniffing the pairing procedure of a connection" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_paired.html?cp=10_5_5_3"&gt;pairing procedure of a connection&lt;/a&gt;? Is the&amp;nbsp;peripheral&amp;nbsp;device still running while connecting? Does the device log have any errors?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you able to test with the example as&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_blinky.html"&gt;BLE Blinky Application&lt;/a&gt;? Does it also have the same issue?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>