<?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>how to use Atomic FIFO Lib on softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38358/how-to-use-atomic-fifo-lib-on-softdevice</link><description>hi all, 
 how to use Atomic FIFO Lib on ble stack ? 
 
 
 
 Called nrf_atfifo_get_free() always get NRF_ERROR_NOT_FOUND when ble_peripheral connect to central . 
 
 
 In ble_app_uart project use nrf_libuarte_async lib , Atomic FIFO(app_fifo lib that seem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Sep 2018 09:19:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38358/how-to-use-atomic-fifo-lib-on-softdevice" /><item><title>RE: how to use Atomic FIFO Lib on softdevice</title><link>https://devzone.nordicsemi.com/thread/147964?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 09:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66379543-0750-45e4-b197-e56bbf8ed5fa</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The atomic FIFO library should not depend on the BLE connection state in any way. I would think that the reason for&amp;nbsp;nrf_atfifo_get_free() returning&amp;nbsp;NRF_ERROR_NOT_FOUND&amp;nbsp; is simply that the FIFO is empty? Have you verified with a debugger (for instance using logging) that&amp;nbsp;nrf_atfifo_alloc_put() is being called first? If not, what you see is expected behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>