<?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>When do you get the &amp;quot;peer removed pairing information&amp;quot; error?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83711/when-do-you-get-the-peer-removed-pairing-information-error</link><description>I got this error during development. 
 I think it is caused by the BLE device erasing the connection information with iOS, 
 I don&amp;#39;t know under what circumstances the BLE device will erase the connection information. 
 If you know the patterns that occur</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 15 Apr 2023 06:23:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83711/when-do-you-get-the-peer-removed-pairing-information-error" /><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/420601?ContentTypeID=1</link><pubDate>Sat, 15 Apr 2023 06:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b2ffb5-e50f-488a-aff3-5c5ad19effdc</guid><dc:creator>pmtwiss</dc:creator><description>&lt;p&gt;Your&amp;nbsp;credentials are stored in the phone. I figured it out: In your iOS device (like iphone etc), go into settings -&amp;gt; bluetooth and &amp;quot;forget device&amp;quot; of the thingy53 you see in your stored BLE connections. Then retry with the app and it will bond again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/389905?ContentTypeID=1</link><pubDate>Sun, 09 Oct 2022 13:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b42507b-4041-437e-af06-8c41817c594b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Great, I am glad to hear that this solution worked for you as well. Thank you for sharing it with us here as well! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/389060?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 16:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47d2aa50-b894-4550-8ab2-267eca9120c7</guid><dc:creator>GoranF</dc:creator><description>&lt;p&gt;I also got this problem and managed to solve it. It turned out the my iPad with nRF Connect previously paired with my nRF52840. As it was paired, the device was saved among other devices in the Bluetooth settings on the iPad. By removing (forgetting) the device the nRF Connect work fine again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/348275?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 12:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b442f1-ce97-40fb-ac8a-0fe89aede7ad</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="applesan"]thank you. I will check it.[/quote]
&lt;p&gt;Good, I look forward to hearing what you find.&lt;br /&gt;To elaborate a little further I suspect that the issue here could be that the OS native app is keeping the key and not sharing it with the custom application.&lt;br /&gt;From the peripheral&amp;#39;s standpoint the device will be known, so it will use the stored information, while the custom app will not be able to decrypt the incomming packages without the key (which is stored in the OS native app, and not provided to the custom app), prompting the &amp;#39;&lt;span&gt;peer removed pairing information&amp;#39; error, or something along these lines.&lt;br /&gt;If this is the case, I would expect it to be solved by initiating the pairing/bonding from the custom app, rather than the OS native app.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="applesan"]thank you. Let&amp;#39;s check using this.[/quote]
&lt;p&gt;Great, please do not hesitate to let me know if you encounter any issues or questions while using the sniffer tool to capture the trace.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/348263?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 11:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f8e3694-e324-4647-b22e-76f344185ebf</guid><dc:creator>applesan</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/83711/when-do-you-get-the-peer-removed-pairing-information-error/348234#348234"]this disconnection reason is most prominent when the device has been paired with the native OS BLE application rather than the custom application, as far as I can tell.[/quote]
&lt;p&gt;thank you. I will check it.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/83711/when-do-you-get-the-peer-removed-pairing-information-error/348234#348234"]&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;A sniffer trace&lt;/a&gt;&amp;nbsp;of the scenario would be of great help if we are to debug this more closely.[/quote]
&lt;p&gt;thank you. Let&amp;#39;s check using this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Kuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/348234?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 10:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4abb1173-cf57-4080-a957-7d85ae288adb</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Kuma&lt;/p&gt;
[quote user="applesan"]This was in the user&amp;#39;s log, so I&amp;#39;m not sure if the os was actually updated. I also don&amp;#39;t know the updated version. We want to know in what cases this error has occurred in the past.[/quote]
&lt;p&gt;It is hard to conclude on this without knowing exactly how the behavior was provoked.&lt;br /&gt;From what I have seen in the forums earlier, this disconnection reason is most prominent when the device has been paired with the native OS BLE application rather than the custom application, as far as I can tell.&lt;/p&gt;
[quote user="applesan"]Also, if there is a development bug on iOS (swift), it needs to be fixed. If it&amp;#39;s a BLE device issue, you need to tell the user about it.[/quote]
&lt;p&gt;I am not sure what you are suggesting might be the BLE issue here - the BLE device will use the same key until a request to update it is provided (LTK case) or until the connection is terminated.&lt;br /&gt;If one of the devices deletes their pairing/bonding information then the other one needs to do so as well, and a new pairing must take place for the communication to resume, as mentioned earlier. This information will not be deleted or changed on the nRF side unless you do so intentionally in your application, so I suspect that something has gone wrong on the central side of the link.&lt;br /&gt;If this is not a persisting issue then I suggest that you delete the bond information on both sides (&amp;#39;forget device&amp;#39;) and re-do the pairing/bonding procedure.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;A sniffer trace&lt;/a&gt;&amp;nbsp;of the scenario would be of great help if we are to debug this more closely.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/348153?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 02:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d66769e-ddf9-4464-8216-bd8e1c8eaca1</guid><dc:creator>applesan</dc:creator><description>[quote userid="87869" url="~/f/nordic-q-a/83711/when-do-you-get-the-peer-removed-pairing-information-error/348086#348086"]Could this be the issue in your case?[/quote]
&lt;p&gt;Probably not. Because there was no error when pairing with &amp;quot;connect&amp;quot; from iphone. However, although it can occur in certain situations, we do not know the specific situation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/83711/when-do-you-get-the-peer-removed-pairing-information-error/348086#348086"]Which OS did you upgrade from, and to, when this happened?[/quote]
&lt;p&gt;This was in the user&amp;#39;s log, so I&amp;#39;m not sure if the os was actually updated. I also don&amp;#39;t know the updated version. We want to know in what cases this error has occurred in the past.&lt;/p&gt;
&lt;p&gt;Also, if there is a development bug on iOS (swift), it needs to be fixed. If it&amp;#39;s a BLE device issue, you need to tell the user about it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Kuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/348086?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 14:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ef115d7-0e9b-45f9-964d-77fd1925d8e3</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Kuma&lt;/p&gt;
[quote user="applesan"]The error message was acquired on iOS (swift), and &amp;quot;peer removed pairing information&amp;quot; was output as the disconnect error message.[/quote]
&lt;p&gt;Thank you for clarifying.&lt;/p&gt;
[quote user="applesan"]I am logging the error as a function of the app, but since this error was recorded at that time, I do not know exactly when the error occurred. I found an article that could occur when updating iOS, but I don&amp;#39;t know any other cases that may occur, so please let me know if you know.[/quote]
&lt;p&gt;I see that iOS developers in other forums have mentioned that they would get this error message if the BLE connection is initiated by the phone&amp;#39;s Bluetooth settings (the OS native app) instead of the application itself. Could this be the issue in your case?&lt;br /&gt;I also do not see any reason why it should happen when you update your OS, unless the process of updating the OS removes all user data from the phone. Which OS did you upgrade from, and to, when this happened?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/348022?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 12:19:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db8c5f0c-7fb2-491c-b6d2-60248f0e2ad3</guid><dc:creator>applesan</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The error message was acquired on iOS (swift), and &amp;quot;peer removed pairing information&amp;quot; was output as the disconnect error message.&lt;/p&gt;
&lt;p&gt;I am logging the error as a function of the app, but since this error was recorded at that time, I do not know exactly when the error occurred. I found an article that could occur when updating iOS, but I don&amp;#39;t know any other cases that may occur, so please let me know if you know.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kuma&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When do you get the "peer removed pairing information" error?</title><link>https://devzone.nordicsemi.com/thread/347914?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 07:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ac93939-97a2-4347-a8ba-760238b2f547</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;If one side of the BLE link deletes the stored bonding information (Long Term Key,&amp;nbsp;&lt;em&gt;LTK&lt;/em&gt;) then there is no way to recover the bond, and so you must delete the stored bonding information on the other side as well, and re-do the bonding.&lt;br /&gt;&lt;br /&gt;I do not know of any particular pattern for iOS to be deleting stored bonding information, but it could perhaps happen when an OS upgrade takes place as you mention. Which sides of the link is outputting the error message?&lt;br /&gt;It would be helpful if you could describe the method you are using to provoke this behavior in greater detail, if possible.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>