<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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 disable pairing after a certain timeout.</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88156/how-to-disable-pairing-after-a-certain-timeout</link><description>I am working on nRF52833 board (PCA10100). I am pairing my peripheral device ( Nordic Board ) to the Mobile Application. I have to disable pairing after a certain timeout. I am not sure how to disable pairing, is there any specific API to do that. I came</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Tue, 24 May 2022 08:42:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88156/how-to-disable-pairing-after-a-certain-timeout" /><item><title>RE: How to disable pairing after a certain timeout.</title><link>https://test-devzone.nordicsemi.com/thread/369215?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 08:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8af3aec-d8c8-4864-a8ba-46c2105c8536</guid><dc:creator>user15146</dc:creator><description>[quote user="striver"] now after a certain timeout I have start pairing again, and this cycle should continue. Should I call the peer_manager_init() for starting pairing again,&amp;nbsp; or is there any&amp;nbsp; other way.[/quote]
&lt;p&gt;Just call&amp;nbsp;pm_sec_params_set() again with the&amp;nbsp;security parameters you want to use.&amp;nbsp;You don&amp;#39;t need to call&amp;nbsp;&lt;span&gt;peer_manager_init() again.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable pairing after a certain timeout.</title><link>https://test-devzone.nordicsemi.com/thread/369207?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 08:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:239dbf8d-6ad2-4ec9-9fee-1a553a9142f3</guid><dc:creator>user115880</dc:creator><description>&lt;p&gt;Yeah, thanks. It is working fine. I would have to start and stop pairing after certain timeout. I have started pairing with the peer_manager_init code mentioned above and able to stop pairing with pm_sec_params_set(NULL), now after a certain timeout I have start pairing again, and this cycle should continue. Should I call the peer_manager_init() for starting pairing again,&amp;nbsp; or is there any&amp;nbsp; other way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable pairing after a certain timeout.</title><link>https://test-devzone.nordicsemi.com/thread/368933?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:20:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:776eef5f-d987-4171-bce6-70545d326969</guid><dc:creator>user15146</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, use the pm_sec_params_set() function for this. As mentioned in the documentaion, &amp;quot;&lt;span&gt;This function can be called multiple times with different parameters, even with NULL as&amp;nbsp;&lt;/span&gt;&lt;code&gt;p_sec_params&lt;/code&gt;&lt;span&gt;, in which case the Peer Manager starts rejecting all procedures again.&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>