<?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>How can I get a passkey to decrypt an encrypted data after connecting ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40471/how-can-i-get-a-passkey-to-decrypt-an-encrypted-data-after-connecting</link><description>Hello. 
 We are struggling that we can&amp;#39;t analysis contents of a encrypted packet during connection mode in BLE communication because of no idea to get a passkey, although follwing a nRF Sniffer User Guide v2.2 on section 5.5(attached material on page</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Nov 2018 00:55:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40471/how-can-i-get-a-passkey-to-decrypt-an-encrypted-data-after-connecting" /><item><title>RE: How can I get a passkey to decrypt an encrypted data after connecting ?</title><link>https://devzone.nordicsemi.com/thread/157381?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 00:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd49c263-7192-4459-9843-30c9a933fd1f</guid><dc:creator>t-kanda</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I appreciate your help. We resolve the problem.&lt;/p&gt;
&lt;p&gt;The passkey is found on gap.h in nRF51 source code as static variable.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Taka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get a passkey to decrypt an encrypted data after connecting ?</title><link>https://devzone.nordicsemi.com/thread/157293?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 12:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:925c92b2-7e12-4528-b7f2-e2f10a7a1420</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]no idea to get a passkey[/quote]
&lt;p&gt;&amp;nbsp;If the BLE example you are using uses passkey, the passkey is likely printed out on UART. This is the default behavior in e.g. the&amp;nbsp;&amp;nbsp;&lt;span&gt;ble_app_gls example in the SDK. See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/ble_sdk_app_gls.html?cp=4_0_0_4_1_2_11_0_0#mitm_protection"&gt;this link&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>