Infineon Logo AIROC BTSDK v4.2 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_transport_heap.h File Reference

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...
 

Detailed Description

API Defines the transport utilities using dynamic memory allocation for sending/receiving the data.

Function Documentation

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.

Parameters
[in]Sizeof heap to be allocated and related configuration defined by config
Returns
wiced_result_t
void wiced_trans_free ( void *  pBuf)

Function wiced_trans_free.

Frees memory from the heap specified by type

Parameters
[in]pointerto the heap memory.
Returns
void
void* wiced_trans_malloc_data ( uint32_t  length)

Function wiced_trans_malloc_data.

Allocates memory from the transport data heap

Parameters
[in]Sizeof heap to be allocated and heap type
Returns
void
void* wiced_trans_malloc_debug ( uint32_t  length)

Function wiced_trans_malloc_debug.

Allocates memory from the transport debug heap

Parameters
[in]Sizeof heap to be allocated and heap type
Returns
void
void* wiced_trans_malloc_hci_trace ( uint32_t  length)

Function wiced_trans_malloc_hci_trace.

Allocates memory from the transport hci trace heap

Parameters
[in]Sizeof heap to be allocated and heap type
Returns
void