<?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>One HR peripheral can connect to two phone at same time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94706/one-hr-peripheral-can-connect-to-two-phone-at-same-time</link><description>Hi, 
 
 We are currently developing the heartbeat belt product. Almost finished 
 But now there is a new requirement. Our heartbeat belt need to connect two phone at same time. 
 As we know, when the heartbeat belt is connected with one phone, other phones</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Dec 2022 09:19:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94706/one-hr-peripheral-can-connect-to-two-phone-at-same-time" /><item><title>RE: One HR peripheral can connect to two phone at same time</title><link>https://devzone.nordicsemi.com/thread/400323?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 09:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30f4e763-9ee8-4446-ab55-7444e70f485e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi John,&amp;nbsp;&lt;br /&gt;Yes correct.&amp;nbsp;Please try. There could be some minor change maybe needed but it&amp;#39;s basically it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: One HR peripheral can connect to two phone at same time</title><link>https://devzone.nordicsemi.com/thread/400081?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 09:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7122cd25-95ab-46c9-b428-5789df071670</guid><dc:creator>JohnCC</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; So I also need to change &amp;quot;Link_count&amp;quot; number and move on_connected(&amp;amp;p_ble_evt-&amp;gt;evt.gap_evt) and&amp;nbsp;on_disconnected(&amp;amp;p_ble_evt-&amp;gt;evt.gap_evt) to our project. This will make our &lt;span&gt;new requirement. Is it right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;John.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: One HR peripheral can connect to two phone at same time</title><link>https://devzone.nordicsemi.com/thread/399933?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 13:09:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3599d719-14ef-48f6-99c2-f66d6278041d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi John,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You shouldn&amp;#39;t have a problem supporting multiple central at the same time. The S332 can support up to 20 concurrent links with any roles.&amp;nbsp;&lt;br /&gt;You can have a look at the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/ble_sdk_app_multiperipheral.html?cp=8_5_5_4_2_2_23"&gt;\examples\ble_peripheral\experimental\ble_app_multiperipheral\&amp;nbsp; example&amp;nbsp;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What you need to do is to&amp;nbsp;configure&amp;nbsp;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT in sdk_config.h. For example in the example you can find this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670591374835v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In addition, you would need to re-start the advertising after you get connected because advertising is stopped automatically when connected. Please take a look at the on_connected() function in the example. You may want to use&amp;nbsp;conn_handle in the callbacks to identify the connections.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>