<?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>Using maximum values for Central and Pehripheral link counts.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27368/using-maximum-values-for-central-and-pehripheral-link-counts</link><description>Question preamble 
 I am writing a bluetooth application where two nRF5 devices will be in a master / slave configuration. However, I want to be able to flick a physical button, before powering on the device, that controls wether it starts as a master</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Nov 2017 14:25:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27368/using-maximum-values-for-central-and-pehripheral-link-counts" /><item><title>RE: Using maximum values for Central and Pehripheral link counts.</title><link>https://devzone.nordicsemi.com/thread/108089?ContentTypeID=1</link><pubDate>Sat, 18 Nov 2017 14:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ba4aac8-9ca0-41b4-809f-e28215647e7a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Glad to help and sorry for trying to be funny... it&amp;#39;s Weekend!;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using maximum values for Central and Pehripheral link counts.</title><link>https://devzone.nordicsemi.com/thread/108088?ContentTypeID=1</link><pubDate>Sat, 18 Nov 2017 11:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b9754ec-200b-4460-a16a-b70587dd3738</guid><dc:creator>Robert Massaioli</dc:creator><description>&lt;p&gt;I&amp;#39;m still relatively new to the nRF stack, as you can probably tell. Thankyou for the answer. I just assumed that a device reset would work for sure... but now I&amp;#39;m rethinking my approach based on what you&amp;#39;ve said. Thanks! I appreciate the answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using maximum values for Central and Pehripheral link counts.</title><link>https://devzone.nordicsemi.com/thread/108087?ContentTypeID=1</link><pubDate>Sat, 18 Nov 2017 08:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac716e98-3ba0-4e8d-ac1a-8db683cea3cf</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Small note: SDK version and chip variant are not important, link capabilities are matter of stack so you should say you use S130 V2.0.1 Soft Device;)&lt;/p&gt;
&lt;p&gt;Now to the answer: yes, configuring maximum number of links and aligning memory is the right way. I actually don&amp;#39;t get why you would need to switch configurations through resets and reboots, you can easily have all the global variables set and just in your internal state machine init certain GAP role at the time or not. For doing things like GAP adv. start/stop and scan start/stop you don&amp;#39;t need to restart. But that&amp;#39;s your business, if you like and insist on resetting then go for it;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>