<?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>nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47325/nrf52840-to-acts-as-central-and-peripheral-simultaneously</link><description>Hi , everyone 
 i want nRF52840 to acts as central and peripheral simultaneously . how can i achieve this ? i have seen in website nRF52840 can concurrent upto 20 link (multilink). how to do this ? which example i have to work out . 
 
 
 
 
 
 
 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 May 2019 08:27:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47325/nrf52840-to-acts-as-central-and-peripheral-simultaneously" /><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187807?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 08:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f27621c-69c7-4bc2-9643-1a68a1a0a18d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BLE Multi-link Central: You can find the source code and the project file of the example in the following folder:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;InstallFolder&amp;gt;\examples\ble_central\ble_app_multilink_central&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;BLE Multi-link Peripheral: You can find the source code and the project file of the example in the following folder:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;InstallFolder&amp;gt;\examples\ble_peripheral\ble_app_blinky&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The BLE Multi-link Example requires at least three boards to verify that more than one link is active. The central device can have a maximum of 8 concurrent connections to peripheral devices.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you modify the example code? If so, what did you do?&lt;/p&gt;
&lt;p&gt;Could you describe the LED status on Central and Peripheral board?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187709?ContentTypeID=1</link><pubDate>Sat, 18 May 2019 05:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9308d4ed-8062-4c48-90d0-e7bccfdc5188</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;yes .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187689?ContentTypeID=1</link><pubDate>Fri, 17 May 2019 13:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c55d93-941f-45b9-8630-a3dfb36f2613</guid><dc:creator>awneil</dc:creator><description>[quote userid="74848" url="~/f/nordic-q-a/47325/nrf52840-to-acts-as-central-and-peripheral-simultaneously/187683"]central is scanning and but not getting connect to peripheral[/quote]
&lt;p&gt;Is it seeing the advertising?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187683?ContentTypeID=1</link><pubDate>Fri, 17 May 2019 12:51:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7649b885-1ea6-469a-810a-aa63dbb6116d</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;hi ... Amanda Hsieh&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have tried with multilink example , central is scanning and but not getting connect to peripheral device&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187491?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 10:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6771d12-e9b3-4d43-b0d0-3db761f4c27e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The multilink example shows you how to manage multiple links.&lt;/p&gt;
&lt;p&gt;So you take that, and use it to make your Peripheral+Central manage multiple Peripherals &amp;amp; Centrals.&lt;/p&gt;
&lt;p&gt;Are you still trying to invent your own Mesh?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187489?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 10:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8a74255-4535-48ec-ac0f-937aed4ea3f8</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;no no ... i want to acts as peripheral and central simultaneously , i need connect two central&amp;amp;peripheral combination device and 10 peripheral device , these device want to interact with each other . so how to connect the multi peripheral to central &amp;amp; peripheral device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187487?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 10:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71e8e80b-93a8-4da8-acfd-424799493ea8</guid><dc:creator>awneil</dc:creator><description>[quote userid="74848" url="~/f/nordic-q-a/47325/nrf52840-to-acts-as-central-and-peripheral-simultaneously/187485"]how to connect to multiple peripheral and one central[/quote][quote userid="77782" url="~/f/nordic-q-a/47325/nrf52840-to-acts-as-central-and-peripheral-simultaneously/187408"]The &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fble_sdk_app_multilink.html&amp;amp;resultof=%22multilink%22%20"&gt;multilink example&lt;/a&gt; [/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187485?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 10:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5adf6173-699d-4153-94d7-c1fde0d8584b</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;thank you for your response Amanda . I have tried the central &amp;amp; peripheral example , i can able to connect only to one device (one peripheral ) how to connect to multiple peripheral and one central ,&amp;nbsp; i tried with the example LE secure connection multirole example, device are connecting using matched uuid , how to change uuid if i want to connect with ble uart instead of heart rate service ,how to modify the program&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187408?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 06:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a24cb04-36f0-4159-b3d0-74dc31991906</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]i want nRF52840 to acts as central and peripheral simultaneously . how can i achieve this ?[/quote]
&lt;p&gt;&amp;nbsp;Please see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/26726/can-a-device-simultaneously-be-a-central-and-a-peripheral"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]i&amp;nbsp; have seen in website&amp;nbsp;&lt;span&gt;&amp;nbsp;nRF52840 can concurrent upto 20 link (multilink). how to do this ? which example i have to work out .&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;SoftDevice S132 v4.x.x, S140 v5.x.x and later supports up to 20 concurrent connections in total. The connections can be any combination of central and peripheral.&lt;/p&gt;
&lt;p&gt;A device can have several peripheral links.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fble_sdk_app_multilink.html&amp;amp;resultof=%22multilink%22%20"&gt;multilink example&lt;/a&gt; can be modified to support 20 connections, but currently it supports 8.&lt;/p&gt;
&lt;p&gt;In sdk_config.h, you can modify&amp;nbsp;&lt;a title="NRF_SDH_BLE_CENTRAL_LINK_COUNT" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/group__nrf__sdh__ble__config.html?cp=5_5_3_6_11_60_1_0_38#ga4855b8f3a64c4c99faac3c3a87296c56"&gt;NRF_SDH_BLE_CENTRAL_LINK_COUNT&lt;/a&gt;&amp;nbsp;for the m&lt;span&gt;aximum number of central links.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You might want to see &lt;a href="https://devzone.nordicsemi.com/support-private/support/124788"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 to acts as central and peripheral simultaneously</title><link>https://devzone.nordicsemi.com/thread/187302?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 13:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac6f8497-280f-4626-82df-ec276462372b</guid><dc:creator>awneil</dc:creator><description>[quote userid="74848" url="~/f/nordic-q-a/47325/nrf52840-to-acts-as-central-and-peripheral-simultaneously"]which example i have to work out[/quote]
&lt;p&gt;Have you actually looked at the examples available in the SDK?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/examples_ble_cen_per.html"&gt;infocenter.nordicsemi.com/.../examples_ble_cen_per.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>