<?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>Can a device simultaneously be a central and a peripheral?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26726/can-a-device-simultaneously-be-a-central-and-a-peripheral</link><description>Our products should connect to a central device. This central device should also be a peripheral which a phone can connect to. Will this be possible? If not, could the phone be a peripheral which is connected to by the central? 
 Additionally, can a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Nov 2017 18:53:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26726/can-a-device-simultaneously-be-a-central-and-a-peripheral" /><item><title>RE: Can a device simultaneously be a central and a peripheral?</title><link>https://devzone.nordicsemi.com/thread/105094?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 18:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6462207-4ce7-41fa-9d2e-8cd499772503</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SoftDevices based on the s130 (s130, s132, s332 etc.) should all support concurrent Central, Peripheral, Broadcaster and Observer. The limitations are RAM and radio time. You can also only have one broadcaster and one observer at any point, and the roles will automatically switch to peripheral and central roles, respectively, if a connection occurs. So you will need to re-start advertising and/or scanning whenever a connection is created using any of those operations.&lt;/p&gt;
&lt;p&gt;So you can have an observer and broadcaster, but since they share the same radio, they cannot actually run at the same (physical) timeslot. The SoftDevice scheduler handles this automatically for you, but it is possible to misconfigure the parameters so that the division of time is unfair. One example is setting scan window equal to the scan interval, where the radio will be busy 100% of the time. An advertiser/connection will then only get a small slice of time when the scheduler thinks it is important, and this could potentially lead to link loss or poor advertising conditions.&lt;/p&gt;
&lt;p&gt;To re-iterate, the answer is yes, but you need to remember that all the roles share the same radio, and it has some physical limitations. Carefully selecting parameters for scanning, advertising, connection interval/supervision timeout is important for making a fair arrangement between the concurrent roles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>