nRF5 SDK v17.1.0
Memory pool library
This information applies to the following SoftDevices: S132, S140

Memory pool implementation, based on circular buffer data structure, which supports asynchronous processing of RX data. The current default implementation supports 1 TX buffer and 4 RX buffers. The memory managed by the pool is allocated from static storage instead of heap. The internal design of the circular buffer implementing the RX memory layout is illustrated in the picture below.

memory_pool.svg
Circular buffer design

The expected call order for the RX APIs is as follows:

Warning
If the above mentioned expected call order is violated the end result can be undefined.
Component specific configuration options

The following compile time configuration options are available to suit various implementations:


Documentation feedback | Developer Zone | Subscribe | Updated