<?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>Reading IRK and gap_evt.params.connected.irk_match issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9612/reading-irk-and-gap_evt-params-connected-irk_match-issue</link><description>Hello all, I have implemented own bond manager with saving context to flash on nRF51422 SD110.
The problem is in getting IRK and creating a whitelist with it after disconnection.
As far as I understand, 
 at BLE_GAP_EVT_CONNECTED I get &amp;amp;ble_evt-&amp;gt;evt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Dec 2015 09:33:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9612/reading-irk-and-gap_evt-params-connected-irk_match-issue" /><item><title>RE: Reading IRK and gap_evt.params.connected.irk_match issue</title><link>https://devzone.nordicsemi.com/thread/35526?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 09:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d40b626-4e29-464e-818d-1839eb8ad1ce</guid><dc:creator>rohit</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have the same problem where the central connects with a PRIVATE_RESOLVABLE_ADDRESS, and I wish to discover the IRK needed to populate whitelist at a peripheral.&lt;/p&gt;
&lt;p&gt;I also see the following in my connection event:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ble_evt-&amp;gt;evt.gap_evt.params.connected.irk_match ==0&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Reading this thread, it is not clear to me what must be done to fetch the IRK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading IRK and gap_evt.params.connected.irk_match issue</title><link>https://devzone.nordicsemi.com/thread/35525?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2015 07:25:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ecfa7f7-d666-42e1-af8b-5080b51f190d</guid><dc:creator>Valer_I</dc:creator><description>&lt;p&gt;Solved,&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;m_application_table[0].sec_param.kdist_central.enc  = 0;
m_application_table[0].sec_param.kdist_central.id   = 1; 
m_application_table[0].sec_param.kdist_central.sign = 0; 
m_application_table[0].sec_param.kdist_periph.enc   = 1;
m_application_table[0].sec_param.kdist_periph.id    = 1;
m_application_table[0].sec_param.kdist_periph.sign  = 0;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After setting &lt;code&gt;kdist_central.id = 1;&lt;/code&gt; the central become to send IRK and whitelist now works both with address and IRKs.
I ask Nordic team to prepare the tutorial not only for beginers to save time of developers and support emploees ;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading IRK and gap_evt.params.connected.irk_match issue</title><link>https://devzone.nordicsemi.com/thread/35524?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2015 14:05:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1240b271-f1c8-4f60-aff7-c60aa2a1dc88</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t want to be a fusspot, but could you add unrelated questions separately? Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading IRK and gap_evt.params.connected.irk_match issue</title><link>https://devzone.nordicsemi.com/thread/35523?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2015 13:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14bbe86a-7ed3-4067-889d-2c8cae28e91d</guid><dc:creator>Valer_I</dc:creator><description>&lt;p&gt;Not yet, now I only have PCA10000 board abd able to receive only ADV_IND packets, I&amp;#39;ll try to found the sniffer board.&lt;br /&gt;
I also have a few questions to fill the blanks in my understanding of adverticement procedure:&lt;em&gt;&lt;/em&gt; but I ask them in separate thread. Thank you, Petter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading IRK and gap_evt.params.connected.irk_match issue</title><link>https://devzone.nordicsemi.com/thread/35522?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2015 11:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a540cf-67ab-4673-a021-a856b9f1cb45</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Your approach seems correct. Do you have a sniffer trace?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>