<?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>nRF52840 Pair with static password + Bond always be timeout disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51977/nrf52840-pair-with-static-password-bond-always-be-timeout-disconnect</link><description>My board is nRF52840 + S140 + nRF5_SDK_15.2.0_9412b96, my configue as below picture and file &amp;quot;ywk_bsp_ble.c&amp;quot; . 
 When nRF Connect APP connect my device, it alway be disconnected, please see the log picture. 
 I don&amp;#39;t know which parameters is error, please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Sep 2019 14:23:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51977/nrf52840-pair-with-static-password-bond-always-be-timeout-disconnect" /><item><title>RE: nRF52840 Pair with static password + Bond always be timeout disconnect</title><link>https://devzone.nordicsemi.com/thread/211874?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 14:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d3bc92e-0cc6-4e5a-b4ab-816a6c3b8771</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The Peer Manager handles everything related to bonding and pairing, and&amp;nbsp;also simplifies the process of storing keys and bonding information to flash. You could achieve this yourself by using the SVCalls and the lower level drivers directly, but that would require much work, and you have to know what you&amp;#39;re doing.&lt;/p&gt;
&lt;p&gt;This is very well documented in the infocenter, &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Flib_peer_manager.html&amp;amp;cp=5_1_3_2_7"&gt;take a look&lt;/a&gt; yourself. If anything is unclear or you want me to elaborate on something particular, please tell me.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Pair with static password + Bond always be timeout disconnect</title><link>https://devzone.nordicsemi.com/thread/211647?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 01:42:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:826467c7-4c0f-4b63-9f7c-926467b51040</guid><dc:creator>Terry Tan</dc:creator><description>&lt;div class="author"&gt;
&lt;div class="meta"&gt;Hi Simon,&lt;/div&gt;
&lt;/div&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I had closed my question, because my parameters is incorrect. But now I get another question as below.&lt;/p&gt;
&lt;p&gt;I see the example from nordic SDK bag, I fond that these examples of project almost use the peer_manager_init(), but my project don&amp;#39;t use this function. So I want to know what&amp;nbsp;advantage does use the&amp;nbsp;&lt;span&gt;peer_manager_init() than not?&amp;nbsp;&lt;/span&gt;&lt;span&gt;In other word, what is the core function about the &amp;quot;peer manager&amp;quot; module?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Terry Tan&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Pair with static password + Bond always be timeout disconnect</title><link>https://devzone.nordicsemi.com/thread/209314?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 07:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a0f5be-afe8-4ba3-91b3-cdb150331f21</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;Here are some suggestions:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Could you try to adjust the minimum and maximum connection intervals, as described &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11278/getting-a-gatt-conn-timeout-message-when-trying-to-upload-a-new-firmware-via-ble-dfu"&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set the LF accuracy to 1 and lower ..&lt;span&gt;LF_RC_TEMP_CTIV, as described &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40154/error8-0x8-gatt-conn-timeout"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;A reason for the disconnect could also be that some error occurred&amp;nbsp;on your&amp;nbsp;nRF52840, could you try to &lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;index=7"&gt;debug your chip&lt;/a&gt; and see where it happens&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>