<?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>nRF doesn&amp;#39;t encrypt connection of previously bonded iOS device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84050/nrf-doesn-t-encrypt-connection-of-previously-bonded-ios-device</link><description>My nRF is a central and the iOS device is the peripheral. the nRF connects to the iOS then checks via pm_conn_sec_status_get() if pm_conn_sec_status_t is encrypted, if not it sends a pair request (using pm_conn_secure()) that bonds and encrypts the connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jan 2022 08:45:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84050/nrf-doesn-t-encrypt-connection-of-previously-bonded-ios-device" /><item><title>RE: nRF doesn't encrypt connection of previously bonded iOS device</title><link>https://devzone.nordicsemi.com/thread/349690?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 08:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0343645e-07a8-43ab-ae5e-65e63b7264a2</guid><dc:creator>RobbLev</dc:creator><description>&lt;p&gt;Solved: in pm_evt_handler() I didn&amp;#39;t call pm_handler_on_pm_evt().&lt;br /&gt;as described:&lt;br /&gt;&amp;nbsp;* This function does the following:&lt;br /&gt;&amp;nbsp;*&amp;nbsp; - Logs all PM events using @ref nrf_log, at different severity levels.&lt;br /&gt;&amp;nbsp;*&amp;nbsp; - &lt;strong&gt;Starts encryption if connected to an already bonded peer. This is affected by @ref&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp; PM_HANDLER_SEC_DELAY_MS.&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;*&amp;nbsp; - Calls @ref app_error on fatal errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>