<?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>pc-ble-driver-py max connection count</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57516/pc-ble-driver-py-max-connection-count</link><description>Hello, 
 I am using pc-ble-driver-py 0.14.1 running on python3.8 and Ubuntu Desktop with nRF52840-Dongle. Dongle is running connectivity_4.1.1_usb_with_s135_5.1.0.hex. Dongle is running as central and I need to make up to 8 connections. I am using this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Feb 2020 15:39:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57516/pc-ble-driver-py-max-connection-count" /><item><title>RE: pc-ble-driver-py max connection count</title><link>https://devzone.nordicsemi.com/thread/233814?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 15:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade02d06-e135-4024-afb9-f7a5462d0590</guid><dc:creator>MariusGailius</dc:creator><description>&lt;p&gt;Hi, your suggestion works with minor changes.&lt;span&gt;I was unable to find&amp;nbsp;BLEConfigGap in ble_driver.py, but found&amp;nbsp;BLEConfigGapRoleCount. The following code worked for me to increase central connection count to 8:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;cfg = BLEConfigGapRoleCount()
cfg.central_role_count = 8 #8 central connections
cfg.periph_role_count = 0
cfg.central_sec_count = 0
self.adapter.driver.ble_cfg_set(BLEConfig.role_count, cfg)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py max connection count</title><link>https://devzone.nordicsemi.com/thread/233802?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 15:02:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf13fdf5-4d35-443c-a679-a6940b7a37b4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are role count parameters in addition to the conn_cfg.conn_count parameter. Default value for central_role_count is 3, so if you need more than three connections as central, you should set the BLEConfigGap setting as well:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="python"&gt;    cfg = BLEConfigGap()
    cfg.central_role_count = 4
    cfg.periph_role_count = 0
    cfg.central_sec_count = 1
    ble_tester.driver.ble_cfg_set(BLEConfig.role_count, cfg)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For details on the above parameters you can have a look at &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v5.0.0%2Fstructble__gap__cfg__role__count__t.html"&gt;ble_gap_cfg_role_count_t&lt;/a&gt; in the SoftDevice API documentation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>