<?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>What is credit based flow control L2CAP channel..?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11479/what-is-credit-based-flow-control-l2cap-channel</link><description>what is credit based flow control in L2CAP connection oriented channel..? 
 What is meaning of credits..? 
 what is exact usage in IPSP ..? 
 How it will effect data communication..?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Oct 2020 14:41:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11479/what-is-credit-based-flow-control-l2cap-channel" /><item><title>RE: What is credit based flow control L2CAP channel..?</title><link>https://devzone.nordicsemi.com/thread/272594?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 14:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f0c14e7-31f7-45f0-a5d5-1a70bda366a9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stefan,&amp;nbsp;&lt;br /&gt;This is a 5 years old case. Please create a new case for your question.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is credit based flow control L2CAP channel..?</title><link>https://devzone.nordicsemi.com/thread/272591?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 14:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:720680f9-08ed-4b36-bc8b-8b89abd92ea0</guid><dc:creator>StefanHri</dc:creator><description>&lt;p&gt;In my set up I have a Raspberry Pi and nrf42840 communicating over IPSP. The nrf sends data to the Raspberry. How to make sure the Raspberry gives sufficient credits to the nrf in order to achieve high throughputs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is credit based flow control L2CAP channel..?</title><link>https://devzone.nordicsemi.com/thread/43335?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2016 14:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e63f2c08-8cdd-4461-9546-4dc96e4a79cb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It is flow control using a credit based scheme for L2CAP data.&lt;/p&gt;
&lt;p&gt;A credit based scheme is a scheme where the credit count determines the number of packets a device can receive.&lt;/p&gt;
&lt;p&gt;In LE Credit Based Flow Control Mode the SDU can be split into LE-frames. The credit count determines the number of LE-frames a device can receive.&lt;/p&gt;
&lt;p&gt;In your SoftDevice each LE-frame can have a payload of 27 octets. So when the SDU is bigger than this it is fragmented into LE-frames and sent to the peer device. But before the LE-frame is sent, it needs to know if the peer device can receive it. So the flow of LE-frames needs to be controlled.&lt;/p&gt;
&lt;p&gt;Upon connection it tells the peer device that is has a credit count of x. Every time the peer device sends a packet it decreases the credit count by 1. If the count reaches 0 it shouldn&amp;#39;t send any more packets. When y number of LE-frames can be reassembled into an SDU, and sent to a higher layer, it tells the peer device to increase the credit count with y.&lt;/p&gt;
&lt;p&gt;If you want more detail I suggest you examine Vol. 3, Part A Section 3.4, 4.22, 4.23, 4.24 and 10.1 in the Bluetooth Core Specification 4.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>