<?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>Bluetooth auto-connection without external application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64668/bluetooth-auto-connection-without-external-application</link><description>Hi, 
 How to auto-connect with my BLE peripheral without an external application? 
 Here, the Android mobile acts as a central, and the nordic chip act as a peripheral. 
 Thanks for your time. 
 
 Prashanth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Aug 2020 09:00:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64668/bluetooth-auto-connection-without-external-application" /><item><title>RE: Bluetooth auto-connection without external application</title><link>https://devzone.nordicsemi.com/thread/264191?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 09:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e38ab8bd-effa-4372-ad3f-76f25efee77b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Prashanth,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="bbprashanth"]More likely it would be HFP/HSP, but in case of meeting the auto-connection requirements, if&amp;nbsp;required, we could adopt HID.&amp;nbsp; How do achieve it and how to advertise as a HID Device?[/quote]
&lt;p&gt;You will need to use &lt;a href="https://www.bluetooth.com/specifications/gatt/"&gt;GATT profiles&lt;/a&gt;, not to be confused with Bluetooth classic profiles, so in this case you are probably looking at using the HID over GATT ( HOGP ) profile.&lt;br /&gt;You can see how this profile is implemented and used in both the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/ble_sdk_app_hids_keyboard.html"&gt;HID keyboard&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/ble_sdk_app_hids_mouse.html"&gt;HID mouse example&lt;/a&gt; from the SDK. Both these examples may auto-reconnect to centrals.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to ask if you should encounter any issues or questions!&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: Bluetooth auto-connection without external application</title><link>https://devzone.nordicsemi.com/thread/263949?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 08:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bdd2d66-2a41-4525-9387-26c25355d371</guid><dc:creator>bbprashanth</dc:creator><description>&lt;p&gt;Hi Karl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;More likely it would be HFP/HSP, but in case of meeting the auto-connection requirements, if&amp;nbsp;required, we could adopt HID.&amp;nbsp; How do achieve it and how to advertise as a HID Device?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Prashanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth auto-connection without external application</title><link>https://devzone.nordicsemi.com/thread/263942?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 07:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d825e4e9-100b-4293-8e0b-98eb8b16a487</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Prashanth,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="bbprashanth"]I was thinking how the media devices (headphones, smartwatches etc., are getting connected through internal Bluetooth settings unlike&amp;nbsp;depending on an external application to send a connection request.&amp;nbsp; Please help me understand how it is working and how can I configure my module such that it can also act as a media device and exhibit auto-connection properties as&amp;nbsp;we see in headphones, watches etc. without needing an external application.[/quote]
&lt;p&gt;As far as I know, only HID devices are currently auto-reconnect accepted by smartphones.&lt;br /&gt;So, it will depend on your application whether the phone will allow auto-reconnections, or if you will need an specific application to do so.&lt;br /&gt;Do I understand you correctly that your device is in fact a HID device / will have a HID profile?&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: Bluetooth auto-connection without external application</title><link>https://devzone.nordicsemi.com/thread/263873?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 14:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d02eae-f015-4ef9-8a7f-2d1ccd5fbecf</guid><dc:creator>bbprashanth</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Thank you so much for your response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was thinking how the media devices (headphones, smartwatches etc., are getting connected through internal Bluetooth settings unlike&amp;nbsp;depending on an external application to send a connection request.&amp;nbsp; Please help me understand how it is working and how can I configure my module such that it can also act as a media device and exhibit auto-connection properties as&amp;nbsp;we see in headphones, watches etc. without needing an external application.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Prashanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth auto-connection without external application</title><link>https://devzone.nordicsemi.com/thread/263872?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:58:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:669f5b61-9485-4546-aeaa-5f46f22f3520</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Prashanth,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;How to auto-connect with my&amp;nbsp;BLE peripheral without an external application?&lt;/p&gt;
&lt;p&gt;Here, the Android mobile acts as a central, and the nordic chip act as a peripheral.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do you mean when you say &amp;quot;without an external application&amp;quot;?&lt;br /&gt;The phone is the central, and it is always the central that will have to initiate a connection.&lt;br /&gt;So, you will have to make sure your phone sends a connect request to your peripheral device, when it receives an advertisement from your peripheral device.&lt;br /&gt;Following this, the connection will be established as long as your peripheral accepts the connection request.&lt;br /&gt;&lt;br /&gt;For future reference, I would advice you to make your ticket public instead of private when it does not contain proprietary code or information.&lt;br /&gt;This way, you might get help from the community faster.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>