<?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>May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62158/may-peripheral-could-auto-connect-to-central</link><description>Hi all: 
 Our usage scenario is to establish a connection and bonded between the NRF52840 peripheral device and the central device, and then restart the NRF52840 peripheral device at this time. I hope that the NRF can actively connect with the newly connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jun 2020 13:24:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62158/may-peripheral-could-auto-connect-to-central" /><item><title>RE: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253306?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 13:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b64c6285-9b23-4bd0-9a5c-4f5ac6e4177b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="zyj"]why sony earphone could auto connect and NRF can not?[/quote]
&lt;p&gt;This has to do with the iOS/Android default Bluetooth adapter configuration. Typically, I would think they allow this for HID and/or Audio devices only.&lt;br /&gt;So, if this is to work for your nRF, it depends on what your nRF device will be doing, as @awneil suggests.&lt;br /&gt;For example, if you intend for your nRF to stream sensor data to your phone, then you will have to create a custom application on your phone that connects to your nRF device, and collects/processes the sensor data. Your phone will not do this automatically.&lt;br /&gt;&lt;br /&gt;Be advised of the differentiation between Bluetooth Classic and Bluetooth Low-Energy handling when reading iOS/Android documentation. nRF devices supports Bluetooth Low-Energy only.&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: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253245?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 10:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b72157-80fc-4355-97d1-c07f47cd84fd</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1665._5F00_Verify_2D00_answer_2D00_nordic_5F00_2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253241?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 10:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e0b84a6-df66-4f82-9ba3-02514f5161a4</guid><dc:creator>zyj</dc:creator><description>&lt;p&gt;get it ! thank you for your kind help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253240?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 10:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da125cb4-b9b0-4939-b822-e9a6f507daeb</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;But how that works is that the earphone advertises, the &lt;strong&gt;phone&lt;/strong&gt; sees it, and it is the &lt;em&gt;&lt;strong&gt;phone&lt;/strong&gt;&amp;nbsp;&lt;/em&gt;which automatically initiates the connection.&lt;/p&gt;
&lt;p&gt;So you need to write your &lt;strong&gt;app&lt;/strong&gt; to do that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253229?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 09:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b32602c-9e14-4773-923e-f25af0b24896</guid><dc:creator>zyj</dc:creator><description>&lt;p&gt;but my sony earphone could connect to my smart phone after it power on ,and i want my NRF&amp;nbsp; do like this.&lt;/p&gt;
&lt;p&gt;why sony earphone could auto connect and NRF can not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253226?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 09:53:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a32e362-ccc3-4a6c-95b4-cdbc396cb57b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;As&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;&amp;nbsp;said, the decision to connect is entirely in the hands of the central, the peripheral will only advertise its presence and the possibility to connect with it. For a smartphone central, you would need to know how the smartphone is configured to handle automatic reconnections.&lt;br /&gt;For this, you should check out Android/iOS specifications on how often their Bluetooth modules behave. For instance, Androids will by default only listen for and autoconnect to their previous connection, if I recall correctly.&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: May peripheral could auto connect to central</title><link>https://devzone.nordicsemi.com/thread/253222?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 09:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b50bb55-c37f-4f12-a11b-7bb7d844b107</guid><dc:creator>awneil</dc:creator><description>[quote userid="77819" url="~/f/nordic-q-a/62158/may-peripheral-could-auto-connect-to-central"] I hope that the NRF can actively connect with the newly connected central device.[/quote]
&lt;p&gt;It&amp;#39;s not an nRF thing - it&amp;#39;s the way the BLE protocol is defined to work.&lt;/p&gt;
&lt;p&gt;The peripheral advertises when it is ready to connect - the decision on when/whether to connect is entirely with the Central.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>