<?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 to handle GAP Security related events?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86061/how-to-handle-gap-security-related-events</link><description>Hi all, 
 I was looking at all ble events and found a few GAP events related to security: 
 BLE_GAP_EVT_SEC_PARAMS_REQUEST 
 BLE_GAP_EVT_SEC_INFO_REQUEST 
 BLE_GAP_EVT_PASSKEY_DISPLAY 
 BLE_GAP_EVT_KEY_PRESSED 
 BLE_GAP_EVT_AUTH_KEY_REQUEST 
 BLE_GAP_EVT_AUTH_STATUS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Mar 2022 13:47:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86061/how-to-handle-gap-security-related-events" /><item><title>RE: How to handle GAP Security related events?</title><link>https://devzone.nordicsemi.com/thread/359398?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 13:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1e5c7bd-a64d-41d9-911d-30f97e36edf2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to support bonding the recommended approach is to start with an BLE example project that support bonding already. If the BLE example include the Peer Manager library, then the example support bonding, ref documentation:&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_peer_manager.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_peer_manager.html&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_pm_usage.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_pm_usage.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to understand more about the BLE events and softdevice api the Peer Manager is calling you can find BLE message sequence charts useful:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___p_e_r_i_p_h___s_e_c___m_s_c.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___p_e_r_i_p_h___s_e_c___m_s_c.html&lt;/a&gt;&amp;nbsp;and&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___p_e_r_i_p_h___l_e_g_a_c_y___m_s_c.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___p_e_r_i_p_h___l_e_g_a_c_y___m_s_c.html&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>