<?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>NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &amp;gt; 1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42738/nrf_error_conn_count-returned-when-setting-peripherals-connection-1</link><description>Hello, 
 I have read numerous posts about NRF_ERROR_CONN_COUNT but yet able to solve this solve, my setup is NRF52840 Dongle as central and I want to connect to multiple Heart rate sensors peripheral. 
 Using nRF Connect BLE app, I was able to connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Feb 2019 09:55:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42738/nrf_error_conn_count-returned-when-setting-peripherals-connection-1" /><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/169013?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 09:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d992597-ed6b-4899-bd7d-9fe30b198d4c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;No. I did not get error 0x8000++, and you are correct. It is not an error base, and sd_ble_gap_scan_start() should not be able to return this.&lt;/p&gt;
&lt;p&gt;What were you trying to send to the target causing 0x802a?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/169000?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 09:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253c064b-309d-411e-b352-69fe2defcaca</guid><dc:creator>thin_ice</dc:creator><description>&lt;p&gt;No I have not. Do you have the error header file for error code with 0x8000 base. This base was not defined in SDK. Were you able to confirm my observation on your end ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/168992?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 08:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff16a99a-e36a-44a0-b41a-ddf1a6ac1521</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Have you modified something else than the connection count?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/168946?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 21:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5785703f-5db3-4c40-8912-3006efc70a6a</guid><dc:creator>thin_ice</dc:creator><description>&lt;p&gt;Hello, I have verified tag 4.0 as you instructed, the PCA10056 is programed with&amp;nbsp;connectivity_4.0.0_1m_with_s140_6.1.0.hex (included in git/hex), then hrc v6 was ran with the same error I mentioned. (2 changes were done max peer = 3, and num of central conn = 3). I tried different combinations, in conclusion, s140 did not work with pc-ble-driver. This error came from&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;sd_ble_gap_scan_start()&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Status: 6, message: Target Reset performed&lt;br /&gt;Status: 7, message: Connection active&lt;br /&gt;Status: 4, message: Error sending packet to target. Code: 0x802a&lt;br /&gt;Scan start failed with error code: 32773&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/168162?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 09:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb84c09b-bcea-4e8a-bb23-7edd03201163</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What version of the pc-ble-driver do you use? 4.0.0? If you use an earlier version, the only stable projects were the softdevices v3.x.x and earlier.&lt;/p&gt;
&lt;p&gt;Can you download the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/v4.0.0"&gt;pc-ble-driver with tag:4.0.0&lt;/a&gt;, and use the projects from there?&lt;/p&gt;
&lt;p&gt;You should get this up and running for the DK (PCA10056) before taking on the dongle, to rule out any possible issues with the dongle communication before introducing the dongle).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you find out what function that returned 32773 (= 0x8005) if you upgrade to v4.0.0?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/167469?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 19:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ae2411-0883-4663-96ce-9731c008485d</guid><dc:creator>thin_ice</dc:creator><description>&lt;p&gt;Do you have a connectivity firmware that is based on s140 v6 for pca10056 or pca10059 that I can test ? I found&amp;nbsp;connectivity_4.0.0_1m_with_s140_6.1.0.hex from github and it produced the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/167468?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 19:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbbdd666-2c2d-4851-a031-24bf2a409f90</guid><dc:creator>thin_ice</dc:creator><description>&lt;p&gt;In this case, I compiled the connectivity hex files for pc-ble-driver, programmed&amp;nbsp;connectivity_x.x.x_1m_with_s140_6.1.0.hex to my nRF52840 DK, then tried heart rate collector v6. It did not work out of the box (nothing changed in code) and here is the output:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Info: Successfully opened /dev/ttyACM1. Baud rate: 1000000. Flow control: none. Parity: none.&lt;/p&gt;
&lt;p&gt;Status: 6, message: Target Reset performed&lt;br /&gt;Status: 7, message: Connection active&lt;br /&gt;Status: 4, message: Error sending packet to target. Code: 0x802a&lt;br /&gt;Scan start failed with error code: 32773&lt;/p&gt;
&lt;p&gt;Process finished with exit code 5&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In fact, I tried various combination of connectivity SD version and pc-ble-driver collector version, none would work for S140 v6. Any tips ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/167409?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 14:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b29bbf4b-5aac-4ed5-8684-996989cad939</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am sorry. I should have spotted this earlier. The S132 v3 supports up to 8 connections, but only 1 connection as a peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you check out the &lt;a href="https://www.nordicsemi.com/-/media/DocLib/Other/SoftDevice_Spec/S132SDSv30.pdf?la=en"&gt;s132 v3 softdevice specification&lt;/a&gt;&amp;nbsp;you can see on page 40 that this softdevice supports up to 8 central connections, but only one peripheral connection. This means that you can&amp;#39;t set:&lt;/p&gt;
&lt;p&gt;ble_enable_params.gap_enable_params.periph_conn_count = 2;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/166960?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 17:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe9e636f-3ff0-40ee-880f-ba24146c445c</guid><dc:creator>thin_ice</dc:creator><description>&lt;p&gt;Hello Edvin, the error code was 18 which corresponds to&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;NRF_ERROR_CONN_COUNT&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Failed to enable BLE stack. Error code: 18&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_ERROR_CONN_COUNT returned when setting # peripherals connection &gt; 1</title><link>https://devzone.nordicsemi.com/thread/166723?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 07:48:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ed6174-3dbb-46ba-9ab9-e9bc06e475b0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;And what was your err_code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>