AIROC™ BTSDK v4.4 - Documentation | ||||
API Defines the transport utilities using dynamic memory allocation for sending/receiving the data. More...
Data Structures | |
struct | wiced_transport_heap_cfg_s |
Typedefs | |
typedef struct wiced_transport_heap_cfg_s | wiced_transport_heap_cfg_t |
Functions | |
wiced_result_t | wiced_trans_create_heap (wiced_transport_heap_cfg_t *heap_config) |
Function wiced_trans_create_heap. More... | |
void * | wiced_trans_malloc_data (uint32_t length) |
Function wiced_trans_malloc_data. More... | |
void * | wiced_trans_malloc_hci_trace (uint32_t length) |
Function wiced_trans_malloc_hci_trace. More... | |
void * | wiced_trans_malloc_debug (uint32_t length) |
Function wiced_trans_malloc_debug. More... | |
void | wiced_trans_free (void *pBuf) |
Function wiced_trans_free. More... | |
API Defines the transport utilities using dynamic memory allocation for sending/receiving the data.
wiced_result_t wiced_trans_create_heap | ( | wiced_transport_heap_cfg_t * | heap_config | ) |
Function wiced_trans_create_heap.
Creates dynamic memory area. Application reserves an area for dynamic variable memory allocations with this call. Application can now allocate variable sized buffers.
[in] | Size | of heap to be allocated and related configuration defined by config |
void wiced_trans_free | ( | void * | pBuf | ) |
Function wiced_trans_free.
Frees memory from the heap specified by type
[in] | pointer | to the heap memory. |
void* wiced_trans_malloc_data | ( | uint32_t | length | ) |
Function wiced_trans_malloc_data.
Allocates memory from the transport data heap
[in] | Size | of heap to be allocated and heap type |
void* wiced_trans_malloc_debug | ( | uint32_t | length | ) |
Function wiced_trans_malloc_debug.
Allocates memory from the transport debug heap
[in] | Size | of heap to be allocated and heap type |
void* wiced_trans_malloc_hci_trace | ( | uint32_t | length | ) |
Function wiced_trans_malloc_hci_trace.
Allocates memory from the transport hci trace heap
[in] | Size | of heap to be allocated and heap type |