<?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>How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30504/how-to-connect-multiperipherals-to-one-central</link><description>Hi, 
 I want to connect Multi peripherals to one central and want to send the device name(peripheral which is connected) through the uart. 
 How do i get the device name which is connected? 
 Also i Want to know Can the central connect to more peripherals</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2020 19:31:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30504/how-to-connect-multiperipherals-to-one-central" /><item><title>RE: How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/thread/260238?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 19:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51280851-c4cb-4a11-a466-307751e08812</guid><dc:creator>SteinarK</dc:creator><description>&lt;p&gt;I was looking for the same and my solution was (sdk_17, ble_app_multilink_central):&lt;br /&gt;&lt;br /&gt;#define NRF_BLE_SCAN_NAME_CNT = 2&amp;nbsp; //which overrides the def in sdk_config.h&lt;/p&gt;
&lt;p&gt;static char const *m_target_periph_name[NRF_BLE_SCAN_NAME_CNT] = {&amp;quot;Nordic Blinky 1&amp;quot;, &amp;quot;Nordic Blinky 2&amp;quot;};&lt;br /&gt;&lt;br /&gt;Then in scan_init() replace&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;err_code = nrf_ble_scan_filter_set(&amp;amp;m_scan, SCAN_NAME_FILTER, m_target_periph_name);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;APP_ERROR_CHECK(err_code);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;with&lt;br /&gt;&lt;br /&gt; for (int i=0; i&amp;lt; NRF_BLE_SCAN_NAME_CNT; i++){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;err_code = nrf_ble_scan_filter_set(&amp;amp;m_scan, SCAN_NAME_FILTER, m_target_periph_name[i]);&lt;br /&gt;&amp;nbsp; &amp;nbsp; APP_ERROR_CHECK(err_code);&lt;br /&gt; } &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/thread/125467?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 08:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a111f037-fc11-463a-b622-20d70355f646</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I believe for most part&amp;nbsp;\examples\ble_central\ble_app_multilink_central example in nRF5 SDK already do what you request.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/thread/125313?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 09:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fea16077-bad0-41a3-9686-62cc083f926d</guid><dc:creator>rraa</dc:creator><description>&lt;p&gt;I know but&amp;nbsp;static char const m_target_periph_name[] = {&amp;quot;Nordic_Blinky&amp;quot;}; connect one device. I have 5 boards and i want to connect devices same time. How can i do it?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;static char const* m_target_periph_name[5] = {&amp;quot;&lt;/span&gt;&lt;span&gt;Nordic_Blinky&lt;/span&gt;&lt;span&gt;&amp;quot;, Nordic_Blinky_1, ...};&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/thread/120975?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 12:35:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a4e6a73-9e00-410f-8797-1d0b0509bfb3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Not sure how you ideally want to identify peripherals, but&amp;nbsp;there are many options you may consider:&lt;/p&gt;
&lt;p&gt;- You can have content in advertisement packet that the central can use to identify the peer device&lt;/p&gt;
&lt;p&gt;- You can have proprietary services and characteristics that uniquely identify the peer device, either during advertisement or after connection.&lt;/p&gt;
&lt;p&gt;- You may after connection bond to the peer device, and store additional application specific information about the peer device, such that you later may re-connect automatically based on previous bond.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/thread/120849?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 14:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffe66c7e-024a-4f00-8039-d5a3d093e200</guid><dc:creator>vprasath</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;So i cannot uniquely identify the peripherals?&lt;/p&gt;
&lt;p&gt;Is there any other way i can able to identify the peripheral by sending data or advertising data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect Multiperipherals to one Central?</title><link>https://devzone.nordicsemi.com/thread/120843?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 14:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9154d18-42f2-4ac8-9807-3171ccd5fb58</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;nRF5 SDK v15 will be released in end of February, and then there will be a Device Information Service client that can discover for instance the device name of connected peer devices.&lt;/p&gt;
&lt;p&gt;I believe the&amp;nbsp;\examples\ble_central\ble_app_multilink_central in nRF5 SDK show how to connect to multiple peripheral devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>