<?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 does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50763/how-does-my-central-device-phone-talk-to-2-peripherals</link><description>I have a phone app which talks to my peripheral device running the nrf52832 and so I will eventually add another peripheral device which ideally can communicate directly to my current peripheral device without going through the central. Unless that is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2019 14:20:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50763/how-does-my-central-device-phone-talk-to-2-peripherals" /><item><title>RE: How does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/thread/203874?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 14:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:009b8702-2b90-40a9-98e2-c9d95d35e1ec</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="18054" url="~/f/nordic-q-a/50763/how-does-my-central-device-phone-talk-to-2-peripherals/203669"]experimental dual role example and integrate the UART over BLE into this??[/quote]
&lt;p&gt;I don&amp;#39;t know the example you are referring to here. I would have started with ble_app_uart, added the relevant parts from ble_app_uart_c, and maybe used&amp;nbsp;&lt;span&gt;ble_app_hrs_rscs_relay as reference. However, this example here&amp;nbsp;on github might implement what you are looking for:&amp;nbsp;&lt;a class="js-navigation-open" id="a601cd6212e99b231faf56f0ca8e7134-f72c19daac3759a5cae0f448f3022221dd7f4d92" title="ble_app_lbs_nus_its_multi-role" href="https://github.com/jimmywong2003/nrf5-ble-multiple-role-example"&gt;ble_app_lbs_nus_its_multi-role&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="18054" url="~/f/nordic-q-a/50763/how-does-my-central-device-phone-talk-to-2-peripherals/203669"]Also what about the S130 softdevice for nRF52810?? I think that only covers peripheral and no central?[/quote]
&lt;p&gt;SoftDevice S130 is for nRF51-series. For nRF52810 you would normally use S112 Softdevice(peripheral only), it&amp;#39;s possible to use S132 v&lt;span&gt;5.1.0 on nRF52810, but nRF52810 has limited flash and ram, so running a multi-role application on nRF52810 would not be&amp;nbsp;advisable, I think you would run out of&amp;nbsp;available RAM. So, I definitely recommend to use the nRF52832 instead.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/thread/203669?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 16:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5294ff28-6d79-4480-b742-bb0de1f78bee</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;OK thats great....so how can I easily use that?&amp;nbsp; I am assuming you mean the experimental dual role example and integrate the UART over BLE into this?? Also what about the S130 softdevice for nRF52810?? I think that only covers peripheral and no central?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/thread/203467?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 06:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1fd282-5a65-40a8-b113-5dfd18d2cf23</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="18054" url="~/f/nordic-q-a/50763/how-does-my-central-device-phone-talk-to-2-peripherals/203410"] but can it be a central without breaking the peripheral connection to the phone?[/quote]
&lt;p&gt;Yes, it can. In fact, the nRF52832 with S132 supports in total 20 concurrent links with freely selectable role (Central/Peripheral).&amp;nbsp;&amp;nbsp;That means that you can have e.g 10 Central and 10 Peripheral links at the same time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/thread/203411?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 21:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5892e1a5-dbcc-4f26-b6bf-d49357dd2d78</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;Does this allow for the master and slave in the middle to be simultaneous without breaking the connection to the phone?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/thread/203410?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 21:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cabe232-2489-4826-a773-a3c933007f9c</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; That is great info......Yes that is mostly the case I just simply want the nrf52832 in the middle to be the peripheral but can it be a central without breaking the peripheral connection to the phone? That is the ideal case.....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does my central device(phone) talk to 2 peripherals?</title><link>https://devzone.nordicsemi.com/thread/203045?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 11:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:294be24b-478f-427a-b2f7-ae7cf4d2d4b4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is this the&amp;nbsp;network topology you are after ?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="261" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1565262597640v1.png" width="387" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If yes, then this is fully possible to implement. If the second&amp;nbsp;peripheral need to send data to the phone, the first&amp;nbsp;peripheral can act as a relay node (acting both as a central and peripheral device). Take a look at&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_rscs_relay.html?cp=5_1_4_2_1_2"&gt;this example&lt;/a&gt;.&lt;span&gt;&amp;nbsp;You might also find&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_multirole_lesc.html?cp=5_1_4_2_1_3"&gt;this example&lt;/a&gt;&amp;nbsp;&lt;span&gt;useful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, take a look at &lt;a href="https://www.youtube.com/watch?v=tbl6Dui-_w4"&gt;this youtube video&lt;/a&gt; for a&amp;nbsp;demonstration of the nRF52 multilink&amp;nbsp;capabilities.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>