<?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 change Peripheral Role to Central Role without having concurrent Role?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20403/how-to-change-peripheral-role-to-central-role-without-having-concurrent-role</link><description>How to change Peripheral Role to Central Role without having concurrent Role? 
 I know S130 Can have 8 Concurrent Role as Central, Peripheral, Observer, Broadcaster. 
 But I&amp;#39;d like to make one Single Role, not as an concurrent Role. 
 For Example,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Mar 2017 05:03:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20403/how-to-change-peripheral-role-to-central-role-without-having-concurrent-role" /><item><title>RE: How to change Peripheral Role to Central Role without having concurrent Role?</title><link>https://devzone.nordicsemi.com/thread/79557?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2017 05:03:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7c604ce-1e55-4957-b092-1dd3e60d97f8</guid><dc:creator>Daniel T. Lee</dc:creator><description>&lt;p&gt;Thanks, Really. I really mean it.&lt;/p&gt;
&lt;p&gt;I thought, Internally in SoftDevice, If the ADV is on, Softdevice recognize as an peripheral and restrict it&amp;#39;s functionality as only to just peripheral role. (I thought it can&amp;#39;t use any function of central role.)&lt;/p&gt;
&lt;p&gt;Thanks Really!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change Peripheral Role to Central Role without having concurrent Role?</title><link>https://devzone.nordicsemi.com/thread/79556?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 21:14:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ee7d272-a074-4652-a524-bfe3e0265ab6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;The initialization of SoftDevice is the same, you set how many roles of each type you want to run simultaneously. If you want to run only one Central or one Peripheral then you init SD with 1 and 1. The roles are then activated by particular SoftDevice API function calls such as sd_ble_gap_adv_start, sd_ble_gap_adv_stop, sd_ble_gap_connect etc. If you don&amp;#39;t want to be your device discoverable, then simply don&amp;#39;t start Advertisement (if there has Peripheral connection ended) or stop it (if it is ongoing). Similar in Central role if you don&amp;#39;t want to connect then don&amp;#39;t scan and problem is solved. Please study all message &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_p___m_s_c.html?cp=2_3_0_1_1_2_1_3"&gt;sequence charts here&lt;/a&gt;, they should tell you more. SoftDevice initialization isn&amp;#39;t commitment to running any GAP configuration later during the run time;)&lt;/p&gt;
&lt;p&gt;When it comes to example simple use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_rscs_relay.html?cp=4_0_1_4_2_1_1"&gt;BLE Central&amp;amp;Peripheral  experimental BLE Relay example&lt;/a&gt;, just modify sequence of SD function calls to use each GAP role when you need.&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>