<?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>nrf8001 Data Credits after Disconnected Event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6253/nrf8001-data-credits-after-disconnected-event</link><description>Hi, I&amp;#39;ve written my own ACI code for an arm cortex M3. So far, everything is working fine. However, I&amp;#39;ve noticed that if all data credits are used up and a DisconnectedEvent occurs, no DataCreditEvent will be sent from the nRF8001 - even after connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Mar 2015 13:06:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6253/nrf8001-data-credits-after-disconnected-event" /><item><title>RE: nrf8001 Data Credits after Disconnected Event</title><link>https://devzone.nordicsemi.com/thread/21876?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 13:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae43605-2122-41dd-8b94-57dae3cea29c</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The Credits are reset to the actual credits supported as soon as the disconnect happens as the credit system applies only when the link is present. The credit reset can also be done as soon as the connection is established.
I.e. The credit system is reset for each session i.e. connection.
There is more detail on this in the nRF8001 datasheet , See section 21.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 Data Credits after Disconnected Event</title><link>https://devzone.nordicsemi.com/thread/21875?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2015 11:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4b62c7d-ce45-4a3f-a819-4e45890978df</guid><dc:creator>Barry</dc:creator><description>&lt;p&gt;I had a look at &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/libraries/BLE/lib_aci.cpp"&gt;lib_aci.cpp&lt;/a&gt; on the Nordic Git and it appears that when handling a disconnected event, this line is executed:&lt;/p&gt;
&lt;p&gt;aci_stat-&amp;gt;data_credit_available = aci_stat-&amp;gt;data_credit_total;&lt;/p&gt;
&lt;p&gt;So it appears that credits are updated locally when a disconnect occurs. Can someone confirm that this is the right approach?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>