<?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>BLE Sniffer stops when a connection established</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69402/ble-sniffer-stops-when-a-connection-established</link><description>Hi, 
 
 I used this user guide: https://infocenter.nordicsemi.com/pdf/nRF_Sniffer_UG_v2.2.pdf . 
 I am using the nRF52840 DK for the sniffer, and managed to connect it and see the advertising data for the peripheral (nRF52840) BLE. 
 When I power on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Dec 2020 10:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69402/ble-sniffer-stops-when-a-connection-established" /><item><title>RE: BLE Sniffer stops when a connection established</title><link>https://devzone.nordicsemi.com/thread/285285?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 10:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeaf5abe-3671-4dfc-91c5-ea592481caef</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;That depends on how you do encryption in your application. If you use a passkey to do pairing, it should be printed to the terminal over the DKs COM port, and you can add it in the sniffer and central device to pair while the sniffer is &amp;quot;in&amp;quot;.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t use a passkey, I guess you&amp;#39;re pairing using OOB. If so, you will need the OOB key. To get it, you will need to output the OOB key from the application somehow, for instance by printing it to UART using NRF_LOG_INFO(). The OOB key is requested in the BLE_GAP_EVT_AUTH_KEY_REQUEST event, and you provide the key using the sd_ble_gap_auth_key_reply() function. So I would suggest printing it right after or before the&amp;nbsp;&lt;span&gt;sd_ble_gap_auth_key_reply() function is called in this case. Either should be fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer stops when a connection established</title><link>https://devzone.nordicsemi.com/thread/285211?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 06:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e42c7c1-9c2d-40ed-bf70-9e3d28e09eac</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="75734" url="~/f/nordic-q-a/69402/ble-sniffer-stops-when-a-connection-established/284746#284746"]&lt;strong&gt;Sniffing a connection between devices that are already paired&lt;/strong&gt; on pages 15 and 16 in the &lt;strong&gt;nRF sniffer user guide&lt;/strong&gt;[/quote]
&lt;p&gt;I looked into it, But the two devices is a nRF5280 !, how can I find the passkey? I didn&amp;#39;t find it in the project&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;JK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer stops when a connection established</title><link>https://devzone.nordicsemi.com/thread/284948?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 08:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2f89812-c5d2-4729-85cb-048506531048</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Great news JK! Please &amp;quot;verify&amp;quot; the answer if this ticket can be closed. That will help users with the same problem in the future find the solution quicker as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer stops when a connection established</title><link>https://devzone.nordicsemi.com/thread/284929?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 07:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a31b23-dc79-43e5-b092-38dfc66a3cda</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;I erased the pairing data from the peripheral board and sniffed the pairing process at the connection and now I can sniff all the communication between the dongle and the device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;JK&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer stops when a connection established</title><link>https://devzone.nordicsemi.com/thread/284746?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 10:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28c10337-f3e2-44c2-97aa-a3814fe92f5e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you confirm that you have chosen the correct peripheral device from the &amp;quot;Device list&amp;quot; mentioned in section 3.1 of the User guide. Does the peripheral and central not connect as intended if the sniffer is on, how do you see that the connection is established as intended when the sniffer is off?&lt;/p&gt;
&lt;p&gt;If the devices are already paired, the issue might be that they detect the sniffer device and cancel the connection due to the sniffer device not having the correct OOB key. Please check out the&amp;nbsp;&lt;strong&gt;Just Works -sniffing an encrypted connection&amp;nbsp;&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;Sniffing a connection between devices that are already paired&lt;/strong&gt; on pages 15 and 16 in the &lt;strong&gt;nRF sniffer user guide&amp;nbsp;&lt;/strong&gt;for more information on how to sniff a secure connection.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>