<?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>Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56490/bond-problem-after-50-cycles-bond-delete-pair</link><description>SDK15, nRF52832, S132 
 I notice that after about 30-50 bond and delete cycles peripherial to central, central doesn&amp;#39;t want to bond. Before it bond and after that delete bond was success. If central device reprogram by nrf go studio, all warks fine again</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jan 2020 11:39:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56490/bond-problem-after-50-cycles-bond-delete-pair" /><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229584?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 11:39:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:629ecc6f-ad8b-4b7d-bc43-8cdffe921ca1</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;Yes, it is works. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229516?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 06:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7aea9c5-7ead-402c-bdb2-b8a9ccbcc129</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Mikhail,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Have you tried to run garbage collection? This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25504/nrf_error_storage_full-in-ble-central-code"&gt;post&lt;/a&gt; might help you.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229362?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 09:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eef6035-fe90-4ba8-9602-aa5a83e2e3f1</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;1001 string means:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;                // Initiate bonding.
                err_code = pm_conn_secure(p_ble_evt-&amp;gt;evt.common_evt.conn_handle, false);
                if (err_code != NRF_ERROR_INVALID_STATE)
                {
                    APP_ERROR_CHECK(err_code);
                }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229361?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 09:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8d7760c-4f4e-40db-91d2-b95f783595ea</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1579165741160v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;After 60 bond /delete pairs, on the central side I can&amp;#39;t bond more and get above error.&lt;/p&gt;
&lt;p&gt;In a debugger after call function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;pm_peer_count();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;this function returned 0. Therefore previos delete bonded pairs was success by call function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;APP_ERROR_CHECK(pm_peers_delete());&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229150?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 07:15:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d6c518d-2698-49eb-b54f-4ec4d7c4f033</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;I need the info about:&amp;nbsp;&lt;/p&gt;
[quote user=""]I notice that after about 30-50 bond and delete cycles peripherial to central, central doesn&amp;#39;t want to bond.[/quote]
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229081?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 14:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10749fea-7c4c-4921-ada9-2701021d412d</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;Yes, I know it how to enable log. But wich info sould take from this log?&lt;/p&gt;
&lt;p&gt;Info about bond or anythink more?&lt;/p&gt;
&lt;div style="left:135px;position:absolute;top:49px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229051?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 13:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16a13f02-985e-46fc-80ba-de05c5db06cf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could enable the log in the sdk_config.h as&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;e&amp;gt; NRF_LOG_ENABLED - nrf_log - Logger
//==========================================================
#ifndef NRF_LOG_ENABLED
#define NRF_LOG_ENABLED 1
#endif
// &amp;lt;h&amp;gt; nRF_Log

//==========================================================
// &amp;lt;e&amp;gt; NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
//==========================================================
#ifndef NRF_LOG_BACKEND_RTT_ENABLED
#define NRF_LOG_BACKEND_RTT_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then, you could see the RTT log in the Segger.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229041?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 13:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cda8dd1-b50b-43fe-a64c-8bf51654f9c5</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;HI!&lt;/p&gt;
&lt;p&gt;What kind of logs and what do you want to see in this logs?&lt;/p&gt;
&lt;p&gt;In wich place of code should I inserts this logs?&lt;/p&gt;
&lt;p&gt;Regarding error messages- I&amp;#39;ll check it again and will give you answear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond problem after 50 cycles bond/delete pair</title><link>https://devzone.nordicsemi.com/thread/229024?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 12:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cecaf7e-4136-4ef9-8e0b-5b6b407fd862</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you provide the logs on both sides (&lt;span&gt;peripheral &amp;amp; central&lt;/span&gt;)? Do you see any error message?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>