<?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>can ble device auto-connect to the phone  after make manually  disconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72720/can-ble-device-auto-connect-to-the-phone-after-make-manually-disconnection</link><description>hello nordic! 
 i had successfully realize the first scenario：using one andriod phone in the Setting（native connect ，not third-party app） to connect to the ble device(nrf52832 chip with HID profile)，it can auto-reconnect the ble device when re-in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Jan 2023 07:26:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72720/can-ble-device-auto-connect-to-the-phone-after-make-manually-disconnection" /><item><title>RE: can ble device auto-connect to the phone  after make manually  disconnection</title><link>https://devzone.nordicsemi.com/thread/404701?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 07:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b50e2536-1ca3-4abd-a6ff-436a1c5b810a</guid><dc:creator>fftsrain</dc:creator><description>&lt;p&gt;嗯嗯 ，thank you very mach&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can ble device auto-connect to the phone  after make manually  disconnection</title><link>https://devzone.nordicsemi.com/thread/404698?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 07:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1af676a-7760-42b5-9bbb-b39397bebff3</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello fftsrain,&lt;br /&gt;&lt;br /&gt;I am just writing to let you know that the ticket is over 2 years old, so xiaoliuya might not be back with an answer to your questions.&lt;br /&gt;If so, I recommend that you create a new ticket for the issue that you are facing! :)&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: can ble device auto-connect to the phone  after make manually  disconnection</title><link>https://devzone.nordicsemi.com/thread/404667?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 03:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:942d2f30-0731-4609-bb21-2d2162f5b150</guid><dc:creator>fftsrain</dc:creator><description>&lt;p&gt;hello xiaoliuya i got same problem,but i find that i have a bar code scanner ,it can reconnect successfully when you make manually disconnection,so may i ask you how to reslove this problem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;thanks for your answer~&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can ble device auto-connect to the phone  after make manually  disconnection</title><link>https://devzone.nordicsemi.com/thread/299651?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 07:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b38e045-9dab-4b59-9b24-0082ad8a872c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]i had successfully&amp;nbsp;&lt;span&gt;realize the first&amp;nbsp;scenario：using one andriod phone in the Setting（native connect ，not third-party app） to connect to the ble device(nrf52832 chip with HID profile)，it can auto-reconnect the ble device when re-in the range.&lt;/span&gt;[/quote]
&lt;p&gt;I am glad to hear that you were able to implement the scenario from your other ticket! :)&amp;nbsp;&lt;/p&gt;
[quote user=""]but the second&amp;nbsp;&amp;nbsp;scenario: i&amp;nbsp; manually&amp;nbsp; make the disconnetion (not the forget)，the ble device cant reconnect to the phone，i also have test this in classic bt, it works, so my question&amp;nbsp; is:can ble device auto-connect to the phone&amp;nbsp; after make manually&amp;nbsp; disconnection?[/quote]
&lt;p&gt;This also depends on the central device.&lt;br /&gt;As long as the peripheral device starts advertising again if its link is terminated, then it is up to the central to determine if it would like to reconnect.&lt;br /&gt;Normally, a central device will not reconnect immediately to a peripheral that it just disconnected manually from - you can check this with your phone or computer - because it was just told to disconnect from the peripheral.&lt;br /&gt;However, after a certain amount of time has passed, or the disconnection was due to a timeout, then central&amp;#39;s usually are programmed to reconnect to the last device they were connected to, if available.&lt;/p&gt;
[quote user=""]i&amp;nbsp; manually&amp;nbsp; make the disconnetion (not the forget)，the ble device cant reconnect to the phone[/quote]
&lt;p&gt;The crucial part here is that if your central does not initiate the reconnection ( right after you have asked it to disconnect ), then the reconnection will not happen. It does not matter what the peripheral BLE device would like, it is the central that decides.&lt;/p&gt;
[quote user=""]can ble device auto-connect to the phone&amp;nbsp; after make manually&amp;nbsp; disconnection?[/quote]
&lt;p&gt;The answer to this is: yes, they can - if the central is programmed to immediately reconnect after being told to manually disconnect. However, this is not a very common use-case, because a manual disconnect usually means that the connection should stay terminated.&lt;/p&gt;
[quote user=""]I hope to get the&amp;nbsp;answer， thank you！[/quote]
&lt;p&gt;It is no problem at all, I am happy to help!&lt;br /&gt;Please do not hesitate to ask if any part of my answer is unclear, or if I have misunderstood any part of your question.&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>