<?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>Allow re-pairing of already bonded peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66936/allow-re-pairing-of-already-bonded-peripheral</link><description>Hi, 
 I&amp;#39;m working on an application that implements both the Central and Peripheral role. 
 I would like to use the Just Works bonding (I have confifgured the Security Parameters as described in https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Oct 2020 13:09:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66936/allow-re-pairing-of-already-bonded-peripheral" /><item><title>RE: Allow re-pairing of already bonded peripheral</title><link>https://devzone.nordicsemi.com/thread/274333?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 13:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b10e5627-59bb-4e9d-b18d-e85bc8097b67</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for updating the thread with the solution!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Allow re-pairing of already bonded peripheral</title><link>https://devzone.nordicsemi.com/thread/274329?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 12:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ec40d26-4aed-4a5f-ba6b-7215da8c5dce</guid><dc:creator>Armando</dc:creator><description>&lt;p&gt;I have found the issue, I&amp;#39;m calling the&amp;nbsp;&lt;em&gt;pm_handler_on_pm_evt()&lt;/em&gt; function into the Peer Manager event handler.&lt;/p&gt;
&lt;p&gt;The function&amp;nbsp;&lt;span&gt;&lt;em&gt;pm_handler_on_pm_evt()&lt;/em&gt; internally calls the&amp;nbsp;&lt;em&gt;pm_conn_secure(conn_handle, false)&lt;/em&gt; function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Allow re-pairing of already bonded peripheral</title><link>https://devzone.nordicsemi.com/thread/274304?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 12:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb8da22-5559-4503-9f6d-e68136da8af5</guid><dc:creator>Armando</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;yes I&amp;#39;m calling the &lt;em&gt;pm_conn_secure()&lt;/em&gt; function with &lt;em&gt;.force_repairing=true&lt;/em&gt; into the&amp;nbsp;BLE_GAP_EVT_CONNECTED event handler.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the withelist to connect with the already bonded devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Allow re-pairing of already bonded peripheral</title><link>https://devzone.nordicsemi.com/thread/274298?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 11:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3423c75-0568-4c87-9ea4-9c5459adcbe1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please make sure you&amp;#39;re calling &lt;span&gt;&lt;a title="pm_conn_secure" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__peer__manager.html?cp=7_1_6_2_16_37#ga46dfaf46c0aa94fc15017d42b3a2e514"&gt;pm_conn_secure&lt;/a&gt;&lt;/span&gt;() with .force_repairing argument set to &amp;#39;True&amp;#39;. This is required to force re-pairing with an already bonded peer device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>