<?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>PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50348/peermanager-error-error-139</link><description>I have a question about PeerManager. 
 
 SDK: 15.3.0 example: ble_app_multirole_lesc (I changed the source from the sample) using device: EYSHJNZWZ (nRF52832) connection device: Android (Bluetooth v5.0) 
 
 When trying to connect with LESC security level</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Aug 2019 07:43:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50348/peermanager-error-error-139" /><item><title>RE: PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/thread/201754?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 07:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7664f8a5-a753-40da-a8b8-80a4228e0c2b</guid><dc:creator>Edvin</dc:creator><description>[quote user="takashina hiroki"]Can nRF Sniffer run on this device?[/quote]
&lt;p&gt;&amp;nbsp;No. Sorry.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="takashina hiroki"]If you delete the entire flash, other devices&amp;#39; bonding information will also disappear.&lt;br /&gt;Therefore, this method is not preferable.[/quote]
&lt;p&gt;&amp;nbsp;This is not a permanent solution, but for debugging, and to find the cause of the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/thread/201701?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 23:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c3577c1-e97f-4b69-be3e-0179c76a4f11</guid><dc:creator>takashina hiroki</dc:creator><description>&lt;p&gt;I have the following devices.&lt;br /&gt;BMD-300-EVAL (Rigado)&lt;/p&gt;
&lt;p&gt;Can nRF Sniffer run on this device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/thread/201700?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 23:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdbb17be-1f18-4199-ad40-d73c61aa7afc</guid><dc:creator>takashina hiroki</dc:creator><description>&lt;p&gt;One device is nRF and the other is Android.&lt;br /&gt;nRF needs to be bonded to multiple devices.&lt;br /&gt;If you delete the entire flash, other devices&amp;#39; bonding information will also disappear.&lt;br /&gt;Therefore, this method is not preferable.&lt;br /&gt;Are there any other measures?&lt;br /&gt;Also, if you know the root cause, please let me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/thread/201148?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 08:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2102f760-f8b3-4d5d-8349-1e642405c396</guid><dc:creator>Edvin</dc:creator><description>[quote user="Edvin Holmseth"]Do you use bonding when you are reproducing this?[/quote]
&lt;p&gt;&amp;nbsp;Are both of the devices nRF? If so, can you try to delete the entire flash of both devices, and then try again? If one of the devices is a phone, try to &amp;quot;forget device&amp;quot; to erase the bonding information (stored keys), and delete the flash on the other, so that you have a clean start.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="takashina hiroki"]I do not have nRF Sniffer.[/quote]
&lt;p&gt;&amp;nbsp;So do you have another DK? nRF Sniffer is only FW, which runs on another DK. It is a very useful tool for these kind of problems, and in BLE development in general.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/thread/201077?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 22:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2322fb82-6c73-4121-af31-452961328260</guid><dc:creator>takashina hiroki</dc:creator><description>&lt;p&gt;Yes, I use bonding.&lt;/p&gt;
&lt;p&gt;I do not have nRF Sniffer.&lt;br /&gt;Therefore, sniffer trace can not be performed.&lt;/p&gt;
&lt;p&gt;Is there any other way to investigate the cause?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PeerManager error (error: 139)</title><link>https://devzone.nordicsemi.com/thread/201023?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 14:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cded4f6c-fc81-4f13-b42f-41e182ad2917</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;As you say, it looks like it is BLE_GAP_SEC_STATUS_DHKEY_FAILURE. Do you use bonding when you are reproducing this?&lt;/p&gt;
&lt;p&gt;Can you do a sniffer trace of the connection when this occurs? You can use the &lt;a href="https://www.nordicsemi.com/?sc_itemid=%7B655FA723-4404-4FBE-8062-7C5C5DCDF36E%7D" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>