<?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>L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33495/l2cap-connection-refused-with-ble_l2cap_ch_status_code_no_resources</link><description>I&amp;#39;m trying to get iOS to open an L2CAP Connection Oriented Channel on the nRF52840. 
 I&amp;#39;m stuck at the nRF always rejecting the connection with result 0x0004 (Connection refused – no resources available). On the firmware, an event BLE_L2CAP_EVT_CH_SETUP_REFUSED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2019 03:22:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33495/l2cap-connection-refused-with-ble_l2cap_ch_status_code_no_resources" /><item><title>RE: L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/thread/209962?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 03:22:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bed0f45-14c3-4515-bb67-32df1e96a831</guid><dc:creator>ERobotics</dc:creator><description>&lt;p&gt;Hi Marco, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you share the project to check L2CAP functionality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/thread/149929?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 06:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec6f476-9bf6-48e7-a05d-2bb2fa23c9ee</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Hello Joe,&lt;/p&gt;
&lt;p&gt;The project I was working on has been put on hold. I can&amp;#39;t find any notes about my tests but I&amp;#39;m pretty sure I couldn&amp;#39;t get to the 40 kB/s (about 400 kbps?) that were the requirement. My tests were done with an iPhone 6s and an iPad 5th gen. I can&amp;#39;t tell what the maximum performance would be as I didn&amp;#39;t fully investigate all the options to tune the configuration.&lt;/p&gt;
&lt;p&gt;FYI, a couple of related points that you might want to consider:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;At the time, Android support was a concern as the API for CoC seemed to only be available on latest OS versions.&lt;/li&gt;
&lt;li&gt;Performance varies significantly depending on the iOS device&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Sorry if this is not particularly helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/thread/149918?ContentTypeID=1</link><pubDate>Sun, 23 Sep 2018 12:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:235b13c9-9c67-4907-bd19-0f8f0c2f1307</guid><dc:creator>JoeBakalor</dc:creator><description>&lt;p&gt;Hi Marco,&lt;/p&gt;
&lt;p&gt;Have you done any throughput testing between iOS and the NRF52 using L2CAP CoC? Just curious. I was able to get around 600kbps with the 2M phy between iPhone X and NRF52 using notifications. Curious how much of an increase using L2CAP CoC might add&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/thread/129691?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 08:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d4d7ea1-1037-4f74-ae16-8ceb8c5195e3</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Hi Mttrinh,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using S140 nRF52 6.0.0.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve started the project from the ble_app_template sample project, which calls&amp;nbsp;nrf_sdh_ble_default_cfg_set().&lt;br /&gt;I thought that function would fully configure the stack as specified in sdk_config.h but now that you mentioned it I&amp;#39;ve checked and noticed it calls sd_ble_cfg_set() to configure various things but not L2CAP.&lt;br /&gt;I&amp;#39;ve added the L2CAP configuration, with&amp;nbsp;ch_count=1 as the default is 0, and now it works.&lt;/p&gt;
&lt;p&gt;Thank you for pointing me in the right direction&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/thread/129672?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 07:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71deaa08-420b-4c33-a22b-309009155550</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which softdevice are you using? and what is the L2CAP configuration? The parameters that you are using when calling sd_ble_cfg_set().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: L2CAP connection refused with BLE_L2CAP_CH_STATUS_CODE_NO_RESOURCES</title><link>https://devzone.nordicsemi.com/thread/129158?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 13:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82882162-c08b-4e71-8298-8954b96bc29d</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Any Nordic engineer able to offer some hints? I&amp;#39;ve tried a few different configuration options but I&amp;#39;m stuck on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>