AIROC™ BTSDK v4.9 - Documentation | ||||
Macros | |
#define | wiced_memory_allocate(size) mpaf_memAlloc(size) |
#define | wiced_memory_free(ptr) mpaf_memFree(ptr) |
Typedefs | |
typedef struct wiced_pool_t | wiced_bt_buffer_pool_t |
wiced buffer pool | |
struct { | |
uint8_t pool_id | |
pool id | |
uint16_t pool_size | |
pool buffer size | |
uint16_t current_allocated_count | |
number of buffers currently allocated | |
uint16_t max_allocated_count | |
maximum number of buffers allocated at any time | |
uint16_t total_count | |
total number of buffers | |
} | wiced_bt_buffer_statistics_t |
AIROC Bluetooth dynamic buffer statistics. | |
Functions | |
void * | mpaf_memAlloc (uint32_t size) |
void * | mpaf_memFree (void *memoryBlock) |
void * | wiced_memory_permanent_allocate (uint32_t size) |
Function wiced_memory_permanent_allocate. More... | |
uint32_t | wiced_memory_get_free_bytes (void) |
Function wiced_memory_get_free_bytes. More... | |
wiced_bool_t | wiced_memory_set_application_thread_stack_size (uint16_t new_stack_size) |
Function wiced_memory_set_application_thread_stack_size. More... | |
wiced_bt_buffer_pool_t * | wiced_bt_create_pool (uint32_t buffer_size, uint32_t buffer_cnt) |
Function wiced_bt_create_pool. More... | |
void * | wiced_bt_get_buffer_from_pool (wiced_bt_buffer_pool_t *p_pool) |
Function wiced_bt_get_buffer_from_pool. More... | |
uint32_t | wiced_bt_get_buffer_count (wiced_bt_buffer_pool_t *p_pool) |
Function wiced_bt_get_buffer_count. More... | |
void * | wiced_bt_get_buffer (uint16_t buffer_size) |
Function wiced_bt_get_buffer. More... | |
void | wiced_bt_free_buffer (void *p_buf) |
Function wiced_bt_free_buffer. More... | |
uint32_t | wiced_bt_get_buffer_size (void *p_buf) |
Function wiced_bt_get_buffer_size. More... | |
wiced_result_t | wiced_bt_get_buffer_usage (wiced_bt_buffer_statistics_t *p_buffer_stat, uint16_t size) |
Function wiced_bt_get_buffer_usage. More... | |
UINT16 | wiced_bt_buffer_poolutilization (UINT8 pool_id) |
Get specific buffer pool utilization. More... | |