<?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>Missing BLE_L2CAP_EVT_CH_RX Event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61597/missing-ble_l2cap_evt_ch_rx-event</link><description>Hello, I have a BLE peripheral, that should receive larger amounts of data using a l2cap channel. The central (a MacBook) creates the L2CAP channel, the channel is purely used to send data from central to the peripheral. Reproducible after the peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 May 2020 14:19:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61597/missing-ble_l2cap_evt_ch_rx-event" /><item><title>RE: Missing BLE_L2CAP_EVT_CH_RX Event</title><link>https://devzone.nordicsemi.com/thread/251031?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 14:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ad4aa8d-ff80-41ab-84ec-21d7ede5fe56</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;are you sure we should take those diagrams as requirements for the number of outstanding read buffers? If so, shouldn&amp;#39;t we have at least 3 buffer queued for reading? Otherwise we could not release the channel as shown in this sequence chart:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___l2_c_a_p___c_h___r_e_l_e_a_s_e___m_s_c.html"&gt;infocenter.nordicsemi.com/.../group___b_l_e___l2_c_a_p___c_h___r_e_l_e_a_s_e___m_s_c.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If there is a requirement to have at least 2 buffers queued for reading, shouldn&amp;#39;t the attempt to configure&amp;nbsp;l2cap_conn_cfg.rx_queue_size to 1 already fail (which it does not).&lt;/p&gt;
&lt;p&gt;Anyway, looks like I found a working workaround. So, you can close this topic if you like to.&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Torsten&lt;/p&gt;
&lt;p&gt;Edit: fixed the URL&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missing BLE_L2CAP_EVT_CH_RX Event</title><link>https://devzone.nordicsemi.com/thread/251021?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 14:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d48569-8bbc-4290-894a-d115fdd7c643</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Torsten,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you show how you setup the buffer for L2CAP RX ?&amp;nbsp;&lt;br /&gt;According to this sequence chart you should always has the double buffer:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___l2_c_a_p___c_h___r_x___m_s_c.html?cp=4_6_2_1_2_5_3_1"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___l2_c_a_p___c_h___r_x___m_s_c.html?cp=4_6_2_1_2_5_3_1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One in&amp;nbsp;sd_ble_l2cap_ch_setup() and one in first&amp;nbsp;&lt;span&gt;sd_ble_l2cap_ch_rx()&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>