<?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>ble multilink central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86362/ble-multilink-central</link><description>Hi, 
 I want to implement a BLE function that a master can connect to multiple slaves at the same time，and the services are located at the master，do I need to create multiple copies of the service?For example ， do i need to create eight battery services</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Mar 2022 05:29:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86362/ble-multilink-central" /><item><title>RE: ble multilink central</title><link>https://devzone.nordicsemi.com/thread/360919?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 05:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba09066d-bddd-49d1-a89e-d2cf29a5aad3</guid><dc:creator>Abner</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ok thank you, i will test this function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble multilink central</title><link>https://devzone.nordicsemi.com/thread/360656?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 06:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f491e43-182c-45c1-8221-b5ce9211ca17</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]do I need to create multiple copies of the service?For example ，&lt;span&gt;do i need to create eight battery services if i want to connect eight slaves？&lt;/span&gt;[/quote]
&lt;p&gt;No, that is the whole point of the server/client architecture. The server have one copy of whatever data it has to provide to the client. In this case, the server (master in your case) will have one service for many connection it is capable to establish.&lt;/p&gt;
[quote user=""]If there is no need,If one of the eight devices has the notify function enabled, will the other seven devices also receive data?[/quote]
&lt;p&gt;You need to notify on all the connections with the different connection handle to be able to notify to the peer. There is no send to all notify available in BLE by default, but that functionality will be very easy to achieve as long as your application knows all the connection handles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>