<?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>Getting peer id invalid after pm_conn_secure in central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23713/getting-peer-id-invalid-after-pm_conn_secure-in-central</link><description>Hi, 
 I&amp;#39;ve one central and one peripheral devices. I&amp;#39;m trying to make a connection between them, perform a bonding process and finally add the peripheral id in the whitelist of the central one and vice versa. I&amp;#39;m using the peer manager with SDK 12.3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jul 2017 16:00:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23713/getting-peer-id-invalid-after-pm_conn_secure-in-central" /><item><title>RE: Getting peer id invalid after pm_conn_secure in central</title><link>https://devzone.nordicsemi.com/thread/93241?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 16:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6038f343-c049-423b-9dd6-37ee722ecf91</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Valba,&lt;/p&gt;
&lt;p&gt;You can do a quick test using ble_app_hrs_c example as the central and ble_app_hrs as peripheral.
I can see that peer_id is retrieved normally on that example.&lt;/p&gt;
&lt;p&gt;You may want to debug deeper , inside pm_sm_evt_handler() , check function im_peer_id_get_by_conn_handle when PM_EVT_CONN_SEC_SUCCEEDED  event occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>